signaldocs Open Signal

Build with Signal

Read-only example

The downloadable example reads and verifies a standard generation 2 Curve quote. It needs Node.js 22 or newer, and Python 3.10 or newer only if you rebuild the ABIs.

Download the integration example

Extract the archive and run these commands inside the signal-curve-example directory:

sh
npm ci --ignore-scripts
npm run example -- 0x2842cf5397d36ec9273a4bf8bccbeb23aaccb08d buy 0.01

The input is 0.01 WHYPE, not $0.01. A buy amount uses the pairing asset's units; a sell amount uses the launched token's units.

The example checks chain 999, a recent pinned block, known factory and router identity, token and curve clone implementations, birth records, asset decimals and market links. It then reads the quote and rechecks the block hash. It makes at most 32 read calls and does not retry automatically.

No key, approval or transaction submission is needed. The result is an indicative direct-pair quote, not a wallet execution simulation or a native-HYPE conversion quote. Published runtime hashes and the chosen RPC remain trust dependencies.

The default public RPC is https://rpc.hypurrscan.io. You may set SIGNAL_DOCS_RPC_URL locally for your own HTTPS provider; never commit a credential-bearing URL.

The bundle contains only the example, its pinned dependencies, ABI build script and reviewed public contract records. The documentation source repository is maintained privately; repository access is not required to use this download.