Deploying on NexusEVM
Deployment with Hardhat
npx hardhat run scripts/deploy.ts --network nexusMainnetcast code 0xYOUR_CONTRACT_ADDRESS --rpc-url https://mainnet.rpc.nexus.xyzDeployment with Foundry
forge create src/MyContract.sol:MyContract \
--rpc-url nexus_mainnet \
--chain-id 3946 \
--private-key $PRIVATE_KEYforge create src/MyContract.sol:MyContract \
--rpc-url nexus_mainnet \
--chain-id 3946 \
--private-key $PRIVATE_KEY \
--constructor-args "arg1" 42Gas
Differences from Ethereum
Difference
Detail
Composability with the Exchange
Last updated

