TOKEN-BOUND AI PROTOCOL
A static NFT is a picture. RAGA turns NFTs into productive, rentable smart accounts that execute real work, earn autonomous yield, and cannot be stolen while leased.
For four years, the industry treated Non-Fungible Tokens as static image pointers hosted on IPFS. They generate zero autonomous cashflow, require manual execution, and carry catastrophic private-key theft vectors. RAGA transforms NFTs into productive, revenue-generating autonomous capital.
| DIMENSION | STATIC COLLECTIBLE NFT (ERC-721 / CW) | RAGA TOKEN-BOUND WORKER (NEP-171/178) |
|---|---|---|
| Operational Utility | Static image JSON URI; 0 native execution ability | Dedicated NEAR sub-account (agent.raga.testnet) |
| Key Custody & Risk | Centralized bot holds private key; vulnerable to drain | Zero private keys; parent contract is sole protocol authority |
| Leasing & SLA | Weak off-chain trust; owner can sell mid-lease | NEP-178 transfer lock; panic freeze protects renter SLA |
| Yield Settlement | Zero yield; manual transfers via Web2 rails | Streaming per-second yoctoNEAR vault accrued on-chain |
From cryptographic sub-account instantiation to nanosecond time-locked micro-leasing and automated yield settlement.
The agent token is minted as an NEP-171 NFT, programmatically creating an exclusive NEAR sub-account (<token_id>.raga-protocol-mw93m309.testnet). The contract acts as the sole parent authority—zero private keys exist.
Renters lease worker capacity by attaching yoctoNEAR. The smart contract calculates nanosecond expiration (expires_at = env::block_timestamp() + duration_nanos) and assigns operational delegation.
While active, nft_transfer panics unconditionally if called by anyone, including the owner. Renters cannot be evicted or front-run; execution delegation is cryptographically guaranteed.
When block time crosses expires_at, operator rights revert to the token owner with zero cleanup gas. The NFT owner withdraws accumulated lease fees directly from the protocol vault.
NEAR Protocol anchors sovereign sub-accounts, the NEP-171/178 Rust contract enforces ownership and transfer locks, and the TypeScript daemon drives off-chain telemetry.
Provides native hierarchical sub-accounts (<subaccount>.parent.near), 1-second finality, 1 yoctoNEAR security deposits, and deterministic state-staking storage economics.
Rust contract built on near-sdk v5.30.1 acting as the keyless parent authority over sub-accounts. Enforces the execution delegation matrix, time-lock state machine, and transfer freeze.
Autonomous Node.js runtime querying agent telemetry, computing SHA-256 cryptographic attestation proofs, and submitting on-chain task completions and proxy executions.
A verifiable on-chain mechanism must be explicit about what it can and cannot do. Pretending that heavy neural networks run inside smart contracts would be dishonest; here is exactly where the boundary lies.
The documents below are the ones in the repository, rendered in the app via a zero-dependency AST Markdown engine.
What RAGA is, what is implemented on NEAR Testnet, the token-bound architecture, verified transactions, and evaluation instructions.
Detailed NEP-171 token-bound binding, zero private key invariant, time-locked micro-leasing, NEP-178 anti-theft transfer freeze, yield routing, and failure policy matrix.
On-chain testnet deployment, verifiable transaction hashes, off-chain worker daemon specifications, and near-api-js JSON-RPC integration contracts.
Mint real NEP-171 token-bound worker accounts, lease execution capacity on per-second micro-contracts, and inspect live on-chain state on NEAR Testnet.