Smart ContractsDeploy
Remix IDE
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 as well as act as a playground for learning and teaching Ethereum.
Writing your smart contract
- Create a "New File" under contracts with name HelloWorld.sol.
- Copy and paste the code below to HelloWorld.sol file.
Compiling
- Compile HelloWorld.sol.
Deploying to Shardeum
- Select Injected Web3 for deploying to Shardeum.
Injected Web3
If Injected Web3 cannot detect the network, refresh the Remix IDE page, and then switch between networks in MetaMask.
- Deploy the compiler contract.
- Confirm the deploy transaction in MetaMask.
- Find the deployed contract address in Remix.
Interacting
- Update the contract by interacting with the contract.
- Confirm the deploy transaction in MetaMask.
- Check the contract has been updated.