Quickstart & docs

Connect to the network, configure Hardhat or Foundry, fees, and learning resources.

Everything you need to build on SUR, from setting up your environment to using the shared infrastructure. More complete documentation (API, SDKs, ABIs) will be published at docs.surnet.org.

Network values

SUR main network detailsPre-launch
Network name
SUR Network
RPC URL
https://rpc.surnet.org
Chain ID
262 (0x106)
Currency symbol
SUREN
Block explorer
https://surplorer.surnet.org

Note: the main network has not launched yet, so the RPC address does not respond before launch.

Step 1: a wallet

Install MetaMask or any EVM-compatible wallet and add the network with the "Add SUR to your wallet" button above. Write the 12-word recovery phrase on paper and share it with nobody; whoever has it can take your assets.

Step 2: Hardhat

// hardhat.config.js
module.exports = {
  solidity: { version: "0.8.24", settings: { evmVersion: "cancun" } },
  networks: {
    sur: {
      url: "https://rpc.surnet.org",
      chainId: 262,
      gasPrice: 100000000000000,          // 1e14 wei = the network's minimum gas price
      accounts: [process.env.PRIVATE_KEY]
    }
  }
};

// npx hardhat run scripts/deploy.js --network sur

Step 2 (alternative): Foundry

forge create src/Counter.sol:Counter \
  --rpc-url https://rpc.surnet.org \
  --private-key $PRIVATE_KEY \
  --legacy --gas-price 100000000000000

Fees in toman

The network's minimum gas price is 1e14 wei. A simple transfer uses 21,000 gas, about 2.1 SUREN; at 100–110 toman during the sale that is roughly 210–240 toman. Because the gas price is fixed, a sudden rush does not multiply fees. 30% of the fee is burned.

Compatibility notes

  • EVM version: Cancun; maximum contract size 36,864 bytes; block gas limit 45 million.
  • Block time is 3 seconds and finality is instant; do not wait for "several confirmations" in your code.
  • SUREN is the native currency; like ETH it works through msg.value, it is not an ERC-20 token.
  • The network filters no transaction by identity; if your dapp needs identity, read from IdentityRegistry.

Using the shared infrastructure

  • Identity: IdentityRegistry is read-only for dapps (verification flags). ABI and address are on the contracts page.
  • Timestamping and signing: SurSign (sign.surnet.org) with a public hash-verification API.

Every service is described for developers and for users on the SUR infrastructure and tools page.

Learning resources

The tools and libraries above belong to third parties and the SUR Foundation is not responsible for them.

Updated: 2026/11/29