Overview
Shibarium is a fast, low-cost, EVM-compatible L2 built for the Shiba Inu ecosystem. You can use all the familiar Ethereum tools—Remix, Hardhat, Truffle, Web3js, and more. Shibarium supports both mainnet and Puppynet (testnet).If you know how to deploy on Ethereum, you already know how to deploy on Shibarium!
1. Set Up Your Wallet
You need an Ethereum-compatible wallet (e.g., MetaMask) to interact with Shibarium. Add the Shibarium network to your wallet: Mainnet RPC:109
For Puppynet (testnet), see the official docs.
2. Deploy a Smart Contract with Remix
You can quickly deploy contracts using the Remix IDE and MetaMask.1
Write your contract
Create a new Solidity file in Remix and paste:
2
Compile the contract
Click the Solidity logo in Remix and compile your contract.
3
Connect your wallet
Select Injected Web3 and connect MetaMask (set to Shibarium network). Make sure you have test BONE tokens (get them from the Shibarium faucet).
4
Deploy and interact
Deploy the contract. After deployment, expand the contract in Remix to call
get
(should return 0), then use set
to update the value and verify with get
again.3. Deploy and Verify with Hardhat
You can also use Hardhat for more advanced workflows, including contract verification.1
Prerequisites
- Node.js
- MetaMask wallet (add Shibarium network)
- Hardhat (install globally):
2
Set up your project
3
Write your contract
Create
contracts/SimpleStorage.sol
:4
Configure Hardhat for Shibarium
Edit Create a
hardhat.config.js
:.env
file and add your private key:5
Write the deployment script
Create
scripts/deploy.js
:6
Deploy the contract
7
Verify the contract (optional)
Install the verification plugin:Update Verify your contract:
hardhat.config.js
:For more details, troubleshooting, and advanced topics, visit the official Shibarium docs.