For the complete documentation index, see llms.txt. This page is also available as Markdown.

Integration

Build apps that surface trading and LP features, or use Tradecraft liquidity as a building block for more complex products.

Tradecraft is a permissionless decentralized exchange, open for integration by wallets and other dApps.

Dependencies

We offer two integration options, with the tradeoffs shown below:

Pool Addresses

Interact using standard Daml TransferOffers and Preapprovals.

Trade.

Deposit and withdraw liquidity.

More expensive.

Slower transactions.

Lower TPS capacity.

No flash accounting features.

No built-in leg matching.

No transaction failure insight.

Usable with basic transfer API access (no validator node required).

Documentation

Daml Package

Interact using custom choices from our Tradecraft Daml package.

Trade.

Deposit and withdraw liquidity.

Cheaper transactions.

Faster transactions.

Higher TPS capacity.

Flexible flash accounting features.

Leg matching built in.

Transaction failure insight.

Requires a validator node to use.

Documentation

Aside from the above documentation, other helpful documentation includes:

Guide: Building a Trading Interface

HTTP API Docs

Last updated

Was this helpful?