REP On-Chain
Off-Chain Computation, On-Chain Anchoring
REP is computed off-chain and anchored on-chain. This hybrid architecture is necessary because:
- Computation cost: Running the five intelligence models and computing REP in real-time for thousands of channels would be prohibitively expensive in pure on-chain execution
- Data volume: The input data (public Telegram signals) cannot be efficiently ingested and processed via on-chain smart contracts
- Flexibility: Off-chain computation allows model updates and improvements without smart contract upgrades
The on-chain component provides:
- Immutable record: Once synced, the REP score is anchored to the TON blockchain as a verifiable, tamper-resistant credential
- Composability: Any TON-native application can query REP without needing access to Repute AI’s off-chain infrastructure
- Trust: The protocol does not require users to trust Repute AI’s database — they can verify their REP directly on-chain
Update Frequency
| Event | On-Chain Update Behavior |
|---|---|
| REP score changes by > 10 points | Metadata update transaction submitted automatically |
| Tier change occurs | Immediate update triggered |
| Manual refresh requested | Update queued (processed within 1 hour) |
| Routine recompute (no significant change) | No transaction submitted (saves gas fees) |
Updates only write to the blockchain when meaningful changes occur. Unchanged scores do not trigger unnecessary transactions.
Smart Contract
The REP soulbound token contract is deployed on the TON blockchain.
Status: The contract address will be published at mainnet launch. Development and testing use the TON testnet.
Verification: Once deployed, the contract source code will be published and verifiable. The non-transferability logic can be audited directly from the published source.
Contract address placeholder: EQ... (published at mainnet launch). Follow the official Repute AI channels for the deployment announcement.
Verifying Your REP On-Chain
Once your REP soulbound token is minted, you can verify it independently without relying on Repute AI’s interface:
Via TON Explorer
- Go to tonscan.org or tonviewer.com
- Enter your TON wallet address in the search bar
- Navigate to the NFTs / SBTs section of your wallet
- Find the Repute AI soulbound token
- View the token metadata: REP score, tier, model snapshots, last updated timestamp
Via TON API
Any application with TON API access can query your REP soulbound token programmatically:
import { TonClient, Address } from '@ton/ton'
const client = new TonClient({
endpoint: 'https://toncenter.com/api/v2/jsonRPC',
})
// Query REP token metadata for a wallet address
async function getRepScore(walletAddress: string) {
const address = Address.parse(walletAddress)
// Call the REP contract's get_rep_data method
const result = await client.runMethod(
Address.parse(REP_CONTRACT_ADDRESS),
'get_rep_data',
[{ type: 'slice', cell: beginCell().storeAddress(address).endCell() }]
)
return {
repScore: result.stack.readNumber(),
tier: result.stack.readNumber(),
lastUpdated: result.stack.readNumber(),
}
}Composability
On-chain REP enables composability across the TON ecosystem:
- TON dApps can gate feature access based on REP score without requiring users to authenticate with Repute AI directly
- Launchpad contracts can use REP tier as an eligibility signal for allocation distribution
- DAO contracts can use REP-based influence weighting for governance votes
- DeFi protocols can use REP as a trust signal for under-collateralized position access
Any TON smart contract that can read NFT metadata can access and use REP as a trust signal.