dumbtv
dumbtv가 ADB로 Fire TV에서 광고·추적·업데이트 알림을 제거, 루트·앱 변경 없이, 무료 오픈소스
Solana AI 에이전트와 트레이딩 봇을 위한 제로 트러스트 거래 실행
Zero-trust trade execution for Solana AI agents and trading bots: DEX routes never reach your wallet, every trade is verified before signing, and it settles at your minimum or reverts.
보안TypeScript · RustGitHub @orientimhq온라인운영자 미확인
써 보셨어요? 한 번만 눌러 주세요. 로그인은 필요 없어요.
아직 감지된 업데이트가 없습니다. GitHub 릴리스가 나오면 여기에 보입니다.
개인 계정의 공개 저장소 소유자는 GitHub로 로그인해 운영자를 확인하고 소개를 직접 관리할 수 있습니다. 관리자 승인은 필요하지 않습니다.
로그인한 뒤 확인 파일을 만들어 이 저장소의 기본 브랜치에 30분 안에 커밋해 주세요. 다른 브랜치나 포크의 파일은 인정하지 않습니다. 파일을 올린 뒤 아래에서 확인하면 관리자 승인 없이 관리할 수 있습니다. 자격을 유지하려면 파일을 남겨 두세요.
로그인이 필요하면 로그인 화면으로 이동합니다. 로그인 후 이곳으로 돌아와 원하는 확인 버튼을 다시 눌러 주세요.
프로젝트 폴더에서 /nomorevibe verify를 실행하면 소유권을 확인하고 소개를 직접 관리할 수 있습니다.
1분 만에 확인하기메이커가 쓴 소개는 위의 한 줄이 전부입니다. 더 자세한 내용은 저장소 README에서 읽을 수 있습니다. 저장소 README ↗
README 전체를 불러오는 중입니다.
README 전문 보기 ↗An on-chain policy co-signer for AI agents that trade on Solana. The owner keeps their tokens in
their own wallet and writes the agent's limits on chain once. The agent builds its own swaps
(Jupiter), but each one runs only between the Guard's Pull and Settle, with Orientim's
co-signature, inside the owner's limits. The owner never signs a swap and can stop everything from
their wallet without Orientim.
Status: proof of concept. Not deployed, not audited, no real funds.
Approve of the Guard's authority over
each input account, for a budget.Pull → the route → Settle through its own RPC, signed by its own key and by a verifier.Pull moves exactly the amount to the agent's hopper and the fee to the treasury. Settle, the
last instruction, requires that at least the minimum arrived in the owner's account (and at least
Pyth's price less the slippage, when set), returns what the route left, and charges the loss budget.
If any check fails, the whole transaction reverts.The full rules (I1–I11), the transaction's shape and every test case are in docs/GUARD.md. To integrate it (any route, not only Jupiter's), see docs/INTEGRATION.md.
| Path | What |
|---|---|
programs/guard | The Guard program (native Rust, solana-program) |
sdk | @orientimhq/guard, shipped as JavaScript with type declarations: the instructions, the owner's set-up (sendOwnerSetup, resumable), the agent's guarded swap around any route (GuardRoute; Jupiter's with fromJupiter), and cosignPrepared, which co-signs a transaction built anywhere and checks each verifier changed nothing |
verifier | Orientim's verifier, an HTTP service (POST /v1/cosign) for Fly |
tests/guard/run.ts | The fixed cases, in litesvm |
tests/guard/fuzz.ts | The attack fuzzer; CI requires it to catch two broken copies of the program |
tests/guard/rules.ts | The owner's rules fuzzed against an independent model; CI requires it to catch three broken copies |
tests/guard/verifier.ts | The verifier against the Guard, and the agent's whole path through the SDK |
tests/guard/swap.ts | swap() in one call: honest swaps, the owner's rules read first, a verifier that cheats, ownerSetup() |
tests/guard/jupiter.ts | Real Jupiter routes from a copy of mainnet, with Pyth's real prices |
tests/guard/attacker | A malicious swap program the tests use as the route |
tests/guard/consumer | The packed npm package installed by an outside project, with plain Node |
tests/guard/rpc.ts | rpcChain().send against a scripted RPC node: dropped connections, processed, expiry, unknown |
tests/guard/devnet.ts | End to end on a real validator (in CI, solana-test-validator; or devnet by hand): deploys, the owner's set-up, the verifier over HTTP, swaps and refusals |
Needs Node 22.18 or later, Rust and the Solana toolchain (cargo build-sbf).
npm ci
npm run build # the Guard and the attacker program
npm test # the fixed cases
npm run fuzz
node tests/guard/rules.ts
node tests/guard/verifier.ts
node tests/guard/swap.ts
node tests/guard/rpc.ts
RPC_URL=… JUPITER_API_KEY=… npm run jupiter
The program's own unit tests: cargo test in programs/guard. Every night both fuzzers run a
million cases each across 20 shards (.github/workflows/guard-fuzz.yml).
import { createGuardClient, rpcChain } from '@orientimhq/guard';
const guard = createGuardClient({
program, owner, agent, // agent: the agent's own KeyPairSigner
chain: rpcChain(HELIUS_URL),
verifiers: [{ address: ORIENTIM_VERIFIER, cosign: 'https://verifier.orientim…' }],
jupiterApiKey,
});
const r = await guard.swap({ mintIn: USDC, mintOut: SOL, amount: 100_000_000n });
// r.ok: { signature, amount, fee, minOut, arrived }; otherwise { stage, reason }
swap() reads the owner's rules first and refuses, with the reason, a swap the Guard would refuse;
asks Jupiter for a route that fits one transaction; has the verifier co-sign; checks the verifier
signed exactly the transaction it built; then signs with the agent's key and sends it.
The owner's set-up comes from ownerSetup(...); it is larger than one transaction, so ownerSetupTransactions(...) packs it into a few that the owner's wallet signs in one approval. revoke(...) ends every approval.
See SECURITY.md.