Overview
TokenFactory is the main SDK class. It wraps the on-chain TokenFactory contract and provides a developer-friendly TypeScript API for deploying all six RWA token templates.
Constructor
Deploy Methods
deployFarmland
FarmlandToken contract via the factory.
Example:
deployCommodity
CommodityReceiptToken contract.
deployRealEstate
RealEstateToken contract.
deployInvoice
InvoiceToken contract.
deployCarbonCredit
CarbonCreditToken contract.
deployMiningRights
MiningRightsToken contract.
Query Methods
getDeployedTokens
totalDeployed
getBalance
DeployResult
All deploy methods return:Base Deploy Options
All deploy methods extendBaseDeployOptions:
Low-Level Adapter
For advanced use, the underlyingEVMAdapter is exposed: