zodiac-roles: run the custodian test with a Turnkey-held agent key
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- Mezza giornata
- Idoneità per principianti
- 25/100
- Tipo di issue
- Documentazione
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- typescript
- Ambito
- blockchain, documentation, testing
Direzione di ricerca
The test is integrations/zodiac-roles/test/custody.live.test.ts. Run it with the command in the issue, supplying a Turnkey test organization's credentials via CUSTODY_CREDS_DIR and setting TURNKEY_SIGNING=1. Done means the test passes against Turnkey, the output is pasted without secrets, and USE-CASES.md records the result. Getting a signing-capable test organization is the main obstacle, and any failures will need investigation in the Turnkey viem adapter path.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
integrations/zodiac-roles/test/custody.live.test.ts checks that the agent's Roles key can live with a custodian: the custodian signs the agent's top-ups through Zodiac Roles, Roles still refuses transfers to anyone else, and a revoke stops the next top-up. It passes live with a Privy server wallet and a Coinbase CDP server account.
Turnkey is wired in through its official viem adapter (@turnkey/viem createAccount), but it has not run live: our free Turnkey organization is over its signing quota.
What: run it with a Turnkey organization that can sign, and report the result (or fix what fails):
cd integrations/zodiac-roles && npm ci
TURNKEY_SIGNING=1 CUSTODY_CREDS_DIR=/path/with/turnkey-api.json BASE_FORK_RPC=https://mainnet.base.org \
npx vitest run test/custody.live.test.ts
turnkey-api.json holds apiPublicKey, apiPrivateKey, organizationId and address (an Ethereum address in that organization). The test runs on a Base fork under chain id 31337, so nothing it signs is valid on Base. Use a test organization, never one with real funds.
Done when: the test passes with Turnkey (paste the output, with no secrets) and USE-CASES.md says so.
- Lingua principale
- TypeScript
- Stelle
- 0
- Fork
- 0
- Merge medio
- 3h 51m
- PR unite (30g)
- 3
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di DeepFirstHQ/deepfirstsearch
-
documentation good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
-
help wanted integration
Difficoltà 3/5 1-2 giorni Idoneità per principianti 50/100
-
enhancement good first issue
Difficoltà 3/5 1-2 giorni Idoneità per principianti 62/100
-
enhancement good first issue
Difficoltà 3/5 1-2 giorni Idoneità per principianti 50/100
-
good first issue integration
Difficoltà 3/5 1-2 giorni Idoneità per principianti 45/100
Tutte le issue di DeepFirstHQ/deepfirstsearch
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
apache/rocketmq-dashboard#6872 ·
I maintainer di solito rispondono entro 3 giorni
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
fab-geocommuns/RNB-site#539 ·
I maintainer di solito rispondono entro 2 giorni
-
Guest multiview tile label leaks raw virtual-source-id "Whip" instead of the guest name / slot labelAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
Eyevinn/open-live-studio#211 ·
I maintainer di solito rispondono entro 1 giorno
-
documentation good first issue
Difficoltà 2/5 Mezza giornata Idoneità per principianti 72/100
sujithputta02/Esapay#13 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
ehmpathy/rhachet-roles-bhuild#468 ·
I maintainer di solito rispondono entro 1 giorno