ExamplesOverview

Examples

Working end-to-end examples against the Ignis devnet. Each example is self-contained — copy, fund the wallet from the faucet, and run.

The examples

Running the examples

Every example assumes:

npm install @omne/sdk

And uses the Ignis devnet RPC:

const client = new OmneClient('wss://rpc.ignis.omnechain.network')

Fund the account you’re running as from the faucet before executing state-mutating examples. See Fund from Faucet.

Verify on the explorer

Every example ends with a verification step against omnescan.com. Transaction IDs, contract addresses, and account balances are all observable there.

Source-of-truth note

These snippets target @omne/sdk@0.3.x. If you are on a newer SDK major version, method signatures may have shifted — check the SDK reference and the CHANGELOG.

Examples are intentionally short. For larger starter repositories (Next.js, Express, Python ports), see the Omne GitHub organization.