DOME Docs

Examples

Common SDK integration patterns.

Check shielded balance

After deposits, sync the indexer and decrypt notes with the wallet viewing key:

node dome-sdk-evm/scripts/smoke-sepolia.mjs balance

Deposit ETH

node dome-sdk-evm/scripts/smoke-sepolia.mjs deposit 0.001

Requires ETH on the signer wallet for the deposit amount plus gas.

Withdraw to a fresh address

node dome-sdk-evm/scripts/smoke-sepolia.mjs withdraw 0.0006

Uses the relayer when DOME_EVM_INDEXER_URL points at a backend with a funded relayer key.

Integration test (local)

cd dome-backend
npm run test:integration

Runs deposit → indexer sync → withdraw against Hardhat using @dome/sdk-evm.

Wallet apps

  • Webcd dome-web && npm run dev (configure .env.local for Sepolia)
  • Mobiledome-mobile with Expo; env from scripts/mobile/configure-sepolia-env.sh

For production integrations, pin package versions and host your own backend + circuit CDN or use Dome's testnet infrastructure during development.

On this page