Deploying Contracts
Snowside is fully EVM-compatible. Any contract written in Solidity or Vyper can be deployed using standard Ethereum tooling — Foundry, Hardhat, Remix, ethers.js, or viem. The only change required is the RPC endpoint and chain ID.
Network parameters
Section titled “Network parameters”| Parameter | Value |
|---|---|
| Chain ID | 73 (eCash mainnet) |
| RPC URL (mainnet) | https://rpc.snowside.network/ext/bc/snowside/rpc |
| RPC URL (testnet) | https://rpc.snowside.network/ext/bc/snowside-test/rpc |
| Gas token | BTC (18 decimals, same as ETH) |
| Explorer | https://explorer.snowside.network |
Deploying with Foundry
Section titled “Deploying with Foundry”- Install Foundry:
curl -L https://foundry.paradigm.xyz | bashthenfoundryup - Create a new project:
forge init my-snowside-contractsthencd my-snowside-contracts - Write your contract in
src/Contract.sol - Deploy to Snowside testnet:
forge create src/Contract.sol:MyContract --rpc-url https://rpc.snowside.network/ext/bc/snowside-test/rpc --private-key $YOUR_PRIVATE_KEY
Note: Gas is paid in ECX, but the EVM treats it identically to ETH (18 decimals). Your wallet needs an ECX balance on Snowside, not AVAX or ETH.
Deploying with Hardhat
Section titled “Deploying with Hardhat”-
Install Hardhat:
npm install --save-dev hardhatthennpx hardhat init -
Add Snowside to your
hardhat.config.js:module.exports = { networks: { snowside: { url: ‘https://rpc.snowside.network/ext/bc/snowside/rpc’, chainId: 73, accounts: [process.env.PRIVATE_KEY], }, }, };
-
Deploy:
npx hardhat run scripts/deploy.js --network snowside
Deploying with Remix
Section titled “Deploying with Remix”- Open Remix
- Go to the Deploy and Run Transactions tab
- Add a custom network: RPC URL
https://rpc.snowside.network/ext/bc/snowside/rpc, Chain ID73 - Select your contract and click Deploy
Verifying contracts
Section titled “Verifying contracts”Contracts can be verified on the Snowside block explorer using standard
verification tools: forge verify-contract <ADDRESS> src/Contract.sol:MyContract --verifier blockscout --verifier-url https://explorer.snowside.network/api