Building on ZADOVO
ZadovoChain uses EVM for contract execution. See Solidity for details.
Remix
Remix IDE is an open-source web and desktop application. It fosters a fast development cycle and has a rich set of plugins with intuitive GUIs. Remix is used for the entire journey of contract development and is a playground for learning and teaching contract development.
Create a new file in File Explorer. Edit contact info on the right side.
Compile contract
Click the compiler button, switch the UI
Select the contract you want to compile
Set compile flags
Click compile button
Deploy contract to the blockchain via a wallet such as MetaMask.
Set network info in
Metamask.Back to
Remix.
Switch environment
Select contract
click deploy button
The contract can be deployed on the chain through MetaMask
Truffle
Use Truffle to compile and deploy contracts.
Install truffle
Run
truffle versionafter installation finished. If the command line displays a message like below, installation is successful.
Create project
First, create a folder for the project.
Then, init project via truffle
After initialization is complete, the following file structure is generated within the project.
Config truffle info
Create contract: Put custom contracts into folder
contractsand modify deployment script in foldermigrations.Deploy contract
Run the deployment command.
The output as below.
Finally, the contract deployment is complete.
Last updated