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
Both of the integration options below require the DA Utility package version 0.14.4. If you do not have it installed when making trades you will be unable to receive the incoming tokens. Additionally you may be automatically put on a temporary blacklist to prevent further trades from being initiated. If you think you may have been blacklisted, contact us.
We offer two integration options, with the tradeoffs shown below:
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).
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.
Aside from the above documentation, other helpful documentation includes:
Last updated
Was this helpful?
