Using Remix and Metamask
Remix is an IDE for smart contract development, including compilation, deployment, testing, and debugging.
Check out the official documentation to learn more about setting up and using Remix.
For help setting up MetaMask, please visit the official documentation.
Connecting Remix to Fuse via MetaMask
Remix supports the following environments for contract deployment via Fuse:
- Javascript VM
- Injected Web3
- Web3 Provider
Using MetaMask with Remix is an example of Injected Web3, which we shall discuss shortly.
- To start, go to https://remix-project.org/ and select "IDE"
Select "Remix online IDE" option
Select "Deploy & run transactions" option
Select "Injected Provider - Metamask" option under Environment
Select the Metamask Account you want to connect. Make sure you selected Fuse Network in the Metamask Network option.
Click Connect to link your Remix IDE to Metamask with Fuse network connection.
Remix IDE is successfully connected to Metamask with Fuse Network connection.
Compiling your contract in Remix
Compiling a smart contract on Fuse Network
Deploying your Contract
Deploying your smart contract on Fuse Network
You can view your deployed smart contract transaction at Fuse explorers.
Fuse Mainnet Explorer is at https://explorer.fuse.io/
Fuse Testnet Spark is at https://explorer.fusespark.io/