DEV Community

Cover image for How to deploy to Arthera Mainnet
Julien Béranger
Julien Béranger

Posted on

How to deploy to Arthera Mainnet

Arthera Mainnet is live and it’s time to deploy!

In this tutorial, we’ll learn how to deploy your Solidity contracts to Arthera. We’ll first deploy to the Testnet, and then deploy to Arthera Mainnet.

Deploy to Testnet

  • Go to the subscription faucet (Testnet), paste your wallet address there: you will get a subscription NFT, it is needed since there’s no AA (native currency of Arthera) in circulation on the network yet. You will deploy your contracts using this address even if the balance is zero, that’s part of the magic of Arthera.
  • Deploy your Solidity contracts using your favourite tool (Hardhat, Foundry,...) and you can check if everything went well on the explorer (Testnet). Sourcify supports Arthera, so you can verify your contracts both manually and programmatically (you can learn more about this in our docs).

For example, when I deployed a simple NFT contract (view the source code here), the output looked like this:

output screenshot

Optional steps

  • If you want to offer your users a gas-less experience, you can add these few lines of code in your contract following this tutorial.
  • Configure the (Testnet) SMP (Subscription Management Platform): https://smp-test.arthera.net/
  • Add the checkout links to your app or website.

Deploy to Mainnet

  • Go to the subscription faucet (Mainnet) to get your subscription NFT. For more complex deployments, feel free to reach out to the team.
  • Deploy your contracts from this address. It should be visible on the explorer (Mainnet)

Optional steps

  • If you want to offer your users a gas-less experience, you can add these few lines of code in your contract following this tutorial.
  • Configure the (Mainnet) SMP (Subscription Management Platform): https://smp.arthera.net/
  • Add the checkout links to your app or website.

Congrats: you're on mainnet! 🎉


The full dev documentation for Arthera is here: https://docs.arthera.net/

And if you need any help or have questions, feel free to contact me directly via Element, Telegram, Twitter, Discord, or LinkedIn.

Top comments (0)