Contract deployment - Remix IDE
On this page, we will walk you through the process of deploying your first smart contract using Remix IDE, a powerful web-based Integrated Development Environment for EVM smart contracts.
Last updated
On this page, we will walk you through the process of deploying your first smart contract using Remix IDE, a powerful web-based Integrated Development Environment for EVM smart contracts.
Last updated
For contract deployment, you can use Remix IDE. However, encrypted contract interactions from Remix IDE are not possible on Swisstronik due to blockchain encryption. If you still want to interact with a deployed contract, ensure your provider is connected to an unencrypted endpoint: https://json-rpc.testnet.swisstronik.com/unencrypted
We highly recommend using
Only Solidity versions up to 0.8.20 are supported.
Go to
Click on the contracts folder.
Select any of the three default contracts, then compile the contract by clicking on the Solidity compiler icon
Click in Compile your contract
Click on the Deploy & run transactions icon
Connect the Remix environment to Swisstronik by clicking on Injected Provider - Metamask
Click on Deploy, and then click on Confirm the transaction in Metamask
Well done! You've deployed a smart contract on Swisstronik and are ready to start interacting with it. Happy exploring! 🎉
You are in the Swisstronik Testnet network (You can )
You have SWTR balance (You can )
Verify the successful execution of your transaction by visiting the