How to deploy?
Last updated
Last updated
Using Remix IDE for the first time can be intimidating but I assure you it’s very simple. I won’t waste your time explaining things you don’t need. Instead let’s jump right into getting a contract up and running as fast as possible.
Skipping past the initial pop ups your screen should look like this.
Get the contract source code from the Multi AFFECTION™ page and paste it into Remix.
You’re going to see this warning at least once every time you refresh or load Remix in your browser. This is important because scammers will try to trick you into deploying malicious contracts. Only deploy contracts you trust or have written yourself. You can get rugged and lose everything!!
Here you can make changes to the tax amounts before sending it to the blockchain. Set the tax rate to 0 to disable it or leave it at 1, it won’t matter if you use your own contract since you will receive the full amount as the owner.
When you are ready click the button on the left to open the Solidity Compiler.
Click the green “play” button to compile the code.
Select the correct contract/interface and remember the location of this ABI button. You will need it to add your new contract to smartcontractgui.xyz
Click to open the “Deploy & run transactions” tab on the left side.
Switch the Remix environment to your Rabby/Metamask wallet. Double check your Rabby/Metamask is set to PulseChain. Make sure the contract/interface is the same on this tab too. When you are ready, click Deploy and send the transaction!
Congrats! That’s all you need to deploy a contract! 🎊
You can use it within Remix same as smartcontractgui.xyz but if you refresh the Remix page without pinning the contract it will disappear until you recompile and re-add the contract address to Remix. You can always check Otterscan or Blockscout to find the contract address.
Remember to approve G5/PI/MATH and allow your new contract to spend your tokens. Call multiBuyWithG5() or multiBuyWithPI() or multiBuyWithMATH() like usual. Repeat the steps for all the contracts you need and save an extra 1% from each 🥳