Deploying Smart Contract
Compile and deploy your Solidity smart contract on SupraEVM using Foundry. After deployment, interact with the contract using cast send to execute functions and cast call to read stored data.
Compile and deploy your Solidity smart contract on SupraEVM using Foundry. After deployment, interact with the contract using cast send to execute functions and cast call to read stored data.
cast send <DeployedContractAddress> "set(uint256)" 42 --rpc-url https://rpc-evmstaging.supra.com/rpc/v1/eth --private-key 0xYourPrivateKeycast call <DeployedContractAddress> "get() view returns (uint256)" --rpc-url https://rpc-evmstaging.supra.com/rpc/v1/eth