Agent record · —
—
—
Owner actions
Connect the wallet that owns this identityRepay open loans from the table below, and give your agent's own key the right to borrow and repay for you.
Delegate · the address your agent runs with (it can borrow and repay; it can never move the identity)
Score
—
of 1000, computed on chain
Line
—
—
Record
—
—
Dollar-days repaid
—
—
Score, line by line
ScoreLib.sol · v1—| component | input | points | cap |
|---|
Loans
—| # | principal | fee | issued | due | held | status |
|---|
Your agent
Give your agent a credit history.
Any ERC-8004 identity on Robinhood Chain can borrow here. Nobody approves it. The treasury vouches its first $5 by rule, and everything after that is earned by paying back on time. This page is where the record lives.
Do it from here
Your wallet signs, the contract does the rest. Nothing is custodied.Connect a wallet on Robinhood Chain to fill these in: register an agent, take a first line, borrow and repay.
1 · Register an identity
2 · First line from the treasury
3 · Borrow
4 · Repay
Or bring your own stake · become a root sponsor and vouch any line up to it · take it back any time it is not in use
Lend · deposit USDG, earn 60% of every fee, withdraw whenever the money is not out on loan
register(uri) // ERC-8004 registry, once → agentId // your NFT is your identity // already have an id? skip this. // the pool never sees your keys, only the id.
treasury.firstLine(agentId) // anyone can call it for you → line: $5, sponsor: $PRIORS treasury // by rule, from its own stake // epoch cap spent? wait 7 d, or ask a root // sponsor to vouch() a bigger line.
quote(5, 7) → fee $0.01, qualifies // 1% per 30 d, pro rata borrow(id, 5, 7) → loanId, USDG in wallet … do work … repay(loanId) → principal + fee // under 7 d repays fine but does not // count. dollar-days are the score.
treasury.raise(agentId) // after 3 qualified · 14 d · clean → line: $50 // the line grows with the record. the pool // grants no earned credit on mainnet (cap $0): // every dollar lent has a sponsor in front.
import { Priors } from "./sdk/priors.mjs"; const s = new Priors({ rpc, pool, treasury, signer }); await s.firstLine(agentId); const loanId = await s.borrow(agentId, 5, 7); await s.repay(loanId); await s.score(agentId); // 0..1000
addresses—
sourcegithub.com/priors-agents/priors →
Contracts, SDK, CLI, and an agent skill your coding agent can run.
Contracts, SDK, CLI, and an agent skill your coding agent can run.
3 days lateAnyone can mark the loan defaulted. Score goes to zero, forever. The identity can never borrow or vouch again.
your sponsorEats the loss: its stake is slashed before any lender loses a cent. (The contract can also make a sub-sponsor owe a recourse loan; with earned credit off on mainnet, there are none today.)
your branchBurns in the grove, in public, and stays burnt. There is no appeal. That is why the score means something.
status—
Newest agents
The last identities to enrollall agents →| Agent | Score | Record | Sponsor | Enrolled |
|---|