Overview
The SDK ships minimal ABIs for all Ankara Chain contracts. These are human-readable ABI strings (ethers.js format) — sufficient for runtime use without bundling the full Hardhat artifacts.TOKEN_FACTORY_ABI
The factory contract. Used by TokenFactory internally.
Key functions:
deployFarmlandToken(...)— deploy a FarmlandToken proxydeployCommodityReceiptToken(...)— deploy a CommodityReceiptToken proxydeployRealEstateToken(...)— deploy a RealEstateToken proxydeployInvoiceToken(...)— deploy an InvoiceToken proxydeployCarbonCreditToken(...)— deploy a CarbonCreditToken proxydeployMiningRightsToken(...)— deploy a MiningRightsToken proxydeploymentFee() view returns (uint256)— fee in wei per deploymentgetDeployerTokens(address) view returns (address[])— tokens deployed by a wallettotalDeployed() view returns (uint256)
Token ABIs
Each token ABI covers the standard ERC-20 surface plus asset-specific reads and writes:Common across all tokens
FARMLAND_TOKEN_ABI — additional
COMMODITY_TOKEN_ABI — additional
REAL_ESTATE_TOKEN_ABI — additional
INVOICE_TOKEN_ABI — additional
CARBON_CREDIT_TOKEN_ABI — additional
MINING_RIGHTS_TOKEN_ABI — additional
WHITELIST_VERIFIER_ABI
Reference implementation of IIdentityVerifier: