.ai
Tokenize Real-World Assets at Machine Scale
Defactor.ai is the machine-readable interface to the Defactor protocol. Built for AI agents, autonomous systems, and developer toolchains to tokenize, lend, govern, and manage real-world assets on-chain.
Multi-chain
Compliant
Open Source
Defactor Toolkit
Four modules. Complete RWA lifecycle coverage. All machine-accessible.
Agent Quick Start
Get your AI agent interacting with the Defactor protocol in under 10 lines of code. The SDK abstracts blockchain complexity so agents can focus on business logic.
1
Install the SDK
npm install @defactor/defactor-sdk2
Initialize a Provider
SelfProvider or AssistedProvider3
Call Contract Methods
Tokenize, lend, borrow, governagent-quickstart.tstypescript
1// Agent Quick Start — Defactor SDK2import { ERC20CollateralPool, SelfProvider } from '@defactor/defactor-sdk'34// 1. Initialize provider5const provider = new SelfProvider.SelfProvider<ERC20CollateralPool>(6 ERC20CollateralPool,7 "0x...contractAddress", // ERC20CollateralPool address8 "https://polygon-rpc.com", // RPC endpoint9 "0x...privateKey" // Agent wallet private key10)1112// 2. Query available pools13const totalPools = await provider.contract.getTotalPools()14const pools = await provider.contract.getPools(0n, totalPools)1516// 3. Lend to a pool17await provider.contract.lend(poolId, amount)1819// 4. Borrow from a pool20await provider.contract.borrow(poolId, amount)Machine-Readable Schema
Every page on Defactor.ai includes structured JSON-LD metadata that AI agents can parse to understand available capabilities, endpoints, and data structures without scraping HTML.
JSON-LD Schema (embedded in every page)json
{
"@context": "https://schema.org",
"@type": "SoftwareApplication",
"name": "Defactor",
"url": "https://defactor.ai",
"applicationCategory": "DeFi / RWA Tokenization",
"operatingSystem": "Ethereum, Polygon, Base",
"offers": {
"@type": "Offer",
"category": "Open Source Toolkit"
},
"featureList": [
"ERC-20 Token Issuance",
"ERC-3643 Compliant Tokens",
"Lending Pools with RWA Collateral",
"Community Governance & Staking",
"Counterparty Pool Management",
"GraphQL & REST APIs",
"TypeScript SDK"
]
}


