In this article, you will learn how to deploy a smart contract on the Shardeum Sphinx testnet. If you’re brand new to Shardeum, make sure to try out the dapps and deploy a node first.
Before we start:
Make sure to add the Shardeum Sphinx testnet to Metamask first. You can add it from here.
And claim faucets on their Discord server. Go to the “faucet-1.1” channel and type /faucet and enter your wallet address.

All set? Let’s begin the process then!
First, go to Openzeppelin. Openzeppelin is a web-based application that allows developers to perform and automate smart contract operations in an easier & secure way.
Contracts Wizard - OpenZeppelin Docs docs.openzeppelin.com Now give the name of your token, token symbol, and token supply. Eg. Token name = Shardeum, Symbol= SHM, Premint= 10000000
And click on “Open in Remix” 👇🏻

This page will open 👇🏻

Go to the “Solidity Compiler” page (3rd option on the left)
And click on the “Compile contract” button 👇🏻

If there is no error, you’ll see a green check mark on the “Solidity Compiler” button 👇🏻

Now go to the “Deploy” page (4th option on the left)
Choose “Injected Provider” on the ENVIRONMENT option.
Once selected, a popup will appear to connect your Metamask wallet. (If you used Remix before, it will auto-detect your wallet, no need to connect again)
Now click on the “Deploy” button 👇🏻

A Metamask pop-up will appear to confirm the transaction. Just approve it!
Once the transaction is successful, you’ll see your deployed contract 👇🏻

Congrats!!! 🎉🚀 You’ve successfully deployed a contract on the Shardeum Sphinx testnet!!! This may come in handy later when Shardeum launches on mainnet and do their token airdrop!
P.S. If the transaction fails, try increasing the gas to 20 or even more. If the issue still remains, try after a few hours or days.

That’s it for now.

