Deploy a Smart Contract
FLAG utilizes the Ethereum Virtual Machine (EVM) in the backend. Smart contracts are written in Solidity and they can function on FLAG as they do on Ethereum.
To deploy a smart contract, you send a FLAG transaction containing your bytecode without specifying any recipients.
After the contract is deployed, it will be available to all users of the FLAG network.
Smart contracts have a FLAG address like other accounts.
- Bytecode (compiled code) of your smart contract
- FLAG for gas costs
- Deployment script/plugin
- Access to a FLAG node, either by running your own node or API access to a node.
- Truffle: Development environment, testing framework and asset pipeline for blockchains using the EVM
- OpenZeppelin: OpenZeppelin Contracts helps you minimize risk by using battle-tested libraries of smart contracts for Ethereum and other blockchains.