For the complete documentation index, see llms.txt. This page is also available as Markdown.

Developer Tools

ValueChain is EVM-compatible. Point Foundry, Hardhat, Remix, Ethers.js, or Viem at the network endpoints. Solidity and Vyper deploy without a ValueChain-specific rewrite. The native currency is SOSO (18 decimals), not ETH.

Do not apply Ethereum confirmation depth. A receipt is inclusion. See Differences from Ethereum and Transaction Finality.

Add the chain to a wallet with Currency Symbol SOSO. See How do I add the ValueChain network?.

Chain config

Mainnet
Testnet

Chain ID

286623

138565

HTTP RPC

https://mainnet.valuechain.xyz

https://testnet.valuechain.xyz

WebSocket

wss://mainnet-ws.valuechain.xyz

wss://testnet-ws.valuechain.xyz

Explorer

https://main-scan.valuechain.xyz

https://test-scan.valuechain.xyz

Native currency

SOSO, 18 decimals

SOSO, 18 decimals

Foundry

[rpc_endpoints]
valuechain = "https://mainnet.valuechain.xyz"
valuechain_testnet = "https://testnet.valuechain.xyz"
forge create src/MyContract.sol:MyContract \
  --rpc-url https://mainnet.valuechain.xyz \
  --chain-id 286623 \
  --private-key "$PRIVATE_KEY"

Hardhat

Viem

For testnet use id: 138565, https://testnet.valuechain.xyz, wss://testnet-ws.valuechain.xyz, and https://test-scan.valuechain.xyz.

Contract verification

View deployments on main-scan or test-scan. Verify source from the contract page in the explorer, or with Foundry:

On testnet use --chain-id 138565 and --verifier-url https://test-scan.valuechain.xyz/api/.

Development environments

Smart contract programming languages

Frontend libraries

Last updated