Fuse is an EVM compatible network, every tool for Ethereum can be used for the Fuse network too.
Remix also supports testing, debugging and deploying of smart contracts and much more.
Since we interact with remix using Metamask, you need to change the network to Fuse network by adding a custom RPC. Please follow the steps in this tutorial to do that.
You need to have a small balance of FUSE on the Fusenet wallet you are using which will be used as Gas for the transactions.
Navigate to remix.ethereum.org and you should select the environment as “Solidity”.
Next step is creating/importing the contract. You can write the contract using “Create” or you can import the contract from various options like Gist, Github, Swarm etc.
In the below example I will be creating a new sample contract.
We will now compile the contract created using the Solidity compiler which you can find on the left hand side. You can choose the version of compiler you want using the drop down.
Once compiled you should see a tick mark next to the compiler and we are good to deploy the contract into Fusenet. Please click on “Deploy and run transaction” below the compiler option. Select “Injected Web3” from the drop down of Environment and adjust the gas value and click on “Deploy”. You should confirm the transaction on your Metamask and wait for the transaction to be confirmed on-chain.
Wait for a few seconds and you can see that your smart contract is deployed and you should be able to interact with it.