Skip to main content
The examples use @toxicflow-labs/[email protected]. Install the package, then configure a client with the current testnet AccountCore address below.

Install the reviewed release

Use Node.js 22.18 or later:
The examples compile against this published artifact. No source checkout is required. Earlier 0.1.1 installations do not provide the new account API.

Configure clients

This is a local-script example. Browser integrations should use the user’s wallet provider; never embed an owner key in a frontend bundle. Validate environment variables before creating a client; the first-trade example does so.

Exchange WebSocket decoder compatibility

SDK 0.2.0 exports @toxicflow-labs/ts-sdk/exchange-ws for the earlier stream format. It does not decode the newer 256-bit balance fields, action/operation metadata and operation-sentinel records documented in Exchange WebSocket. The package pin above is for the contract examples. Trading-wallet signatures use EIP-712 domain version 2; AccountCore administration uses version 1.