Developer Quick-Start¶
Build and deploy smart contracts on AnimeChain.
Animechain is like most Ethereum based chains. If you can learn to deploy code on Ethereum or an Eth testnet, you only need to change a few parameters to deploy all that code on Animechain (and of course... some funds).
Development and Deployment via a UI (Remix)¶
Developing via the Remix UI (remix.ethereum.org) is the simplest way to test
- Add AnimeChain (or AnimeChain Testnet) to your browser wallet provider.
- Select the wallet/network so it's active and ensure you have funds. If you need funds on testnet, use the Testnet Faucet.
- In Remix, verify the selected network is AnimeChain and your account shows a nonβzero balance.
- Deploy your contract from the Deploy tab.


π Setup¶
# Install tools
npm install --save-dev hardhat @nomicfoundation/hardhat-viem dotenv
# Add network to wallet
await window.ethereum.request({
method: 'wallet_addEthereumChain',
params: [{
chainId: '0x10D88', // Mainnet: 69000, Testnet: 0x1AF4 (6900)
chainName: 'AnimeChain',
nativeCurrency: { name: 'ANIME', symbol: 'ANIME', decimals: 18 },
rpcUrls: ['https://rpc-animechain-39xf6m45e3.t.conduit.xyz/'], // Mainnet
blockExplorerUrls: ['https://explorer-animechain-39xf6m45e3.t.conduit.xyz/']
}]
});
βοΈ Hardhat Config¶
require('dotenv').config();
require('@nomicfoundation/hardhat-viem');
module.exports = {
solidity: '0.8.20',
networks: {
animechain: { // Mainnet
url: 'https://rpc-animechain-39xf6m45e3.t.conduit.xyz/',
chainId: 69000,
accounts: [process.env.PRIVATE_KEY]
},
testnet: {
url: 'https://explorer-animechain-testnet-i8yja6a1a0.t.conduit.xyz/',
chainId: 6900,
accounts: [process.env.PRIVATE_KEY]
}
}
};
Deploy: npx hardhat run scripts/deploy.js --network testnet
Example Contract¶
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.20;
contract WaifuRegistry {
event Registered(address indexed owner, string name);
mapping(address => string) public waifuOf;
function register(string calldata name) external {
waifuOf[msg.sender] = name;
emit Registered(msg.sender, name);
}
}
Warning: Elevated Gas Price on AnimeChain
AnimeChain currently uses a manually increased gas price of 435.5 Gwei (ANIME). When estimating or setting gas, be sure to account for this higher value, or your transactions may fail or underprice.

// Legacy-style gasPrice
const gasPrice = ethers.parseUnits('435.5', 'gwei');
const tx = await wallet.sendTransaction({ to, value, gasPrice });
// Or EIP-1559 style
const maxFeePerGas = ethers.parseUnits('435.5', 'gwei');
const maxPriorityFeePerGas = ethers.parseUnits('0.5', 'gwei');
const tx1559 = await wallet.sendTransaction({ to, value, maxFeePerGas, maxPriorityFeePerGas });
Verify on Explorer¶
What is 'Verification'? Since code is just 1's and 0's, verification PROVES to the internet that your deployed code matches the code in your repository. This allows anyone on the internet to check that your code matches the code you deployed and you're not doing anything fishy.
AnimeChain Explorer supports the same source verification (similar to Etherscan). After deployment:
- Copy contract address.
- Open Explorer β Contracts β Verify.
- Paste address, set compiler version 0.8.20, licence MIT.
- Submit verification.
Useful Links¶
- RPC API Reference: Full list
- Contract Addresses & ABIs: Contracts
- Code Examples: Examples
- Network parameters: see Use AnimeChain
- DevZuki Community: https://t.co/4xlpVFIfDx β community-led developer support (docs maintained by a DevZuki member)
Note: All basic Solidity contracts work just the same on Animechain!