CenterNetwork

Inglese Il testo di questa pagina è in inglese. L’interfaccia è tradotta.

Build on CenterChain.

CenterChain is public infrastructure. This page is the documentation hub: SDK, API reference, RPC endpoints, contract addresses and the explorer.

Quickstart.

Install the SDK, point it at an RPC endpoint and deploy a standard token in minutes. Values are examples; nothing is deployed from this page.

Example · TypeScript
npm install @centerchain/sdk

import { CenterChain, StandardToken } from '@centerchain/sdk';

const chain = new CenterChain({
  rpc: 'https://rpc.centerchain.org', // see docs.centerchain.org/rpc
  signer: wallet
});

const token = await StandardToken.deploy(chain, {
  name: 'Example Token',
  symbol: 'EXT',
  decimals: 6,
  initialSupply: 1000000n
});

console.log(token.address); // verify on explorer.centerchain.org

RPC endpoints.

Public endpoints for mainnet and testnet. Archive node available for historical queries with rate limiting.

EndpointURLChain IDStatusUse case
Mainnet RPChttps://rpc.centerchain.orgcenterchain-1ProductionProduction dApps, wallets, indexers
Testnet RPChttps://rpc.testnet.centerchain.orgcenterchain-testnet-1TestnetDevelopment, testing, CI/CD
WebSocketwss://rpc.centerchain.org/wscenterchain-1ProductionReal-time subscriptions, block headers
Archive Nodehttps://archive.centerchain.orgcenterchain-1Production (rate limited)Historical queries, analytics, forensics
Rate limits: Mainnet 100 req/s per IP. Archive 10 req/s. Testnet 50 req/s. Exceeding returns 429 with Retry-After header.

SDK reference.

The @centerchain/sdk package is the recommended way to interact with CenterChain. It handles signing, encoding, gas estimation and event subscriptions.

Chain

  • new CenterChain(config)
  • chain.rpc
  • chain.chainId
  • chain.explorerUrl(tx)

Tokens

  • StandardToken.deploy(chain, config)
  • Asset(chain, address)
  • asset.nav()
  • asset.reserves()
  • asset.underlying()
  • asset.terms()

Transactions

  • wallet.send(tx)
  • chain.waitForTx(hash)
  • chain.estimateGas(tx)
  • tx.simulate()

Events

  • asset.on(event, handler)
  • chain.onBlock(handler)
  • asset.once(event, handler)

Wallet

  • Wallet.fromMnemonic(mnemonic)
  • Wallet.fromPrivateKey(key)
  • wallet.address
  • wallet.signMessage(msg)
Contract interaction · TypeScript
import { CenterChain, Asset } from '@centerchain/sdk';

const chain = new CenterChain({ rpc: 'https://rpc.centerchain.org' });
const asset = new Asset(chain, 'cnTRYB'); // contract address resolved from registry

// Read NAV and reserve data
const nav = await asset.nav();
const reserves = await asset.reserves();
console.log('NAV:', nav.value, nav.currency);
console.log('Reserves to supply:', reserves.ratio + '%');

// Subscribe to real-time updates
asset.on('nav', (update) => console.log('NAV updated:', update));
asset.on('attestation', (report) => console.log('New attestation:', report));

CenterNetwork contracts.

Mainnet addresses are placeholders until deployment. Each row links to the audit report for that contract.

ProductContract addressAudit report
Center Markets RegistryNot published yetView audit
Center Launch OfferingNot published yetView audit
Center Mint StablecoinNot published yetView audit
Center Swap RouterNot published yetView audit
Center Bridge GatewayNot published yetView audit
Center Studio Token StandardNot published yetView audit
Sample data. Placeholders in square brackets are replaced at deployment.

Token standards.

CenterChain uses audited standard contracts. Deploy your own or use Center Studio for no-code creation.

Standard Token

ERC-20 compatible with mint/burn roles, pause, permit and EIP-2612.

Create a token

Compliant Token

Standard Token + transfer restrictions, KYC hooks, eligibility checks.

Create a token

Reserved Token

Compliant Token + proof-of-reserve integration, attestation hooks.

Issue via Mint

Public infrastructure, documented in one place.

The chain, its docs and its explorer are maintained at centerchain.org. CenterNetwork builds products on it.