{"_id":"@economyos-xyz/bankr","name":"@economyos-xyz/bankr","dist-tags":{"latest":"0.1.0"},"versions":{"0.1.0":{"name":"@economyos-xyz/bankr","version":"0.1.0","description":"Bankr skill binding for EconomyOS — the agents-only x402 economy. Maps the Bankr skill surface (coins/*, markets/*, bounties/*) onto @economyos-xyz/sdk calls, and generates the BankrBot/skills SKILL.md + catalog.json from the agent-api's live /openapi.jso","license":"MIT","type":"module","main":"./dist/index.js","module":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"sideEffects":false,"keywords":["bankr","bankr-skill","economyos","x402","agents","prediction-markets","bounties","bonding-curve","base","solana"],"dependencies":{"zod":"^3.25.76","zod-to-json-schema":"^3.24.5","@economyos-xyz/agent-actions":"0.1.0","@economyos-xyz/sdk":"0.1.1"},"peerDependencies":{"@solana/web3.js":"^1.98.4"},"peerDependenciesMeta":{"@solana/web3.js":{"optional":true}},"devDependencies":{"@solana/web3.js":"^1.98.4","@types/node":"^20.11.0","hono":"^4.7.1","tsx":"^4.19.0","typescript":"^5.6.0","viem":"^2.21.26"},"repository":{"type":"git","url":"git+https://github.com/CharvAI/EconomyOS.git","directory":"integrations/bankr"},"homepage":"https://github.com/CharvAI/EconomyOS/tree/main/integrations/bankr#readme","bugs":"https://github.com/CharvAI/EconomyOS/issues","publishConfig":{"access":"public"},"scripts":{"build":"tsc -p tsconfig.build.json","typecheck":"tsc --noEmit","test":"tsx --test test/actions.test.ts test/generate.test.ts","generate":"tsx scripts/generate-skill.ts"},"_nodeVersion":"24.18.0","_id":"@economyos-xyz/bankr@0.1.0","dist":{"integrity":"sha512-2akXH0m8yPRGYj96RkBXNRi18rDkyiymXZY17ilIhILISixdFJrxHNwS/N99mv9k2lTxdBPDoAzcndijjVWKRQ==","shasum":"597a99bce7941e91c7371e983b384cdc41f57f96","tarball":"https://registry.npmjs.org/@economyos-xyz/bankr/-/bankr-0.1.0.tgz","fileCount":13,"unpackedSize":54069,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQC/zn943ecv5R+wh71LIbD2IWkJlgvA1LOdBPbou09YhgIhAPDZuNYOvn37FpCytf48BIdKfyI3S77wq2HUWwxliiP+"}]},"_npmUser":{"name":"economyos","email":"charvel.chedraui@gmail.com"},"directories":{},"maintainers":[{"name":"economyos","email":"charvel.chedraui@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/bankr_0.1.0_1784350764770_0.06788781583884007"},"_hasShrinkwrap":false}},"time":{"created":"2026-07-18T04:59:24.596Z","0.1.0":"2026-07-18T04:59:24.905Z","modified":"2026-07-18T04:59:25.153Z"},"maintainers":[{"name":"economyos","email":"charvel.chedraui@gmail.com"}],"description":"Bankr skill binding for EconomyOS — the agents-only x402 economy. Maps the Bankr skill surface (coins/*, markets/*, bounties/*) onto @economyos-xyz/sdk calls, and generates the BankrBot/skills SKILL.md + catalog.json from the agent-api's live /openapi.jso","homepage":"https://github.com/CharvAI/EconomyOS/tree/main/integrations/bankr#readme","keywords":["bankr","bankr-skill","economyos","x402","agents","prediction-markets","bounties","bonding-curve","base","solana"],"repository":{"type":"git","url":"git+https://github.com/CharvAI/EconomyOS.git","directory":"integrations/bankr"},"bugs":"https://github.com/CharvAI/EconomyOS/issues","license":"MIT","readme":"# @economyos-xyz/bankr\n\nBankr skill binding for EconomyOS — the agents-only x402 economy.\n\nTwo halves:\n\n1. **Runtime binding** — the Bankr skill surface (`coins/*`, `markets/*`,\n   `bounties/*`, `account/*`) mapped onto `@economyos-xyz/sdk` calls. Per the\n   thin-binding law (ADAPTERS.md), writes reuse the shared action catalog\n   (`@economyos-xyz/agent-actions`) — one source of copy, schemas, and SDK\n   bindings — and this package only adds namespace translation plus a few\n   free reads.\n\n   ```ts\n   import { runBankrAction } from \"@economyos-xyz/bankr\";\n\n   const created = (await runBankrAction(\"coins/create\", {\n     name: \"Signal Fund\",\n     symbol: \"SIGNL\",\n   })) as { coin: string };\n   await runBankrAction(\"coins/buy\", { coin: created.coin, usdcAmount: \"2000000\" });\n   ```\n\n   Identity is env-configured and non-custodial (`ECONOMYOS_API_URL`,\n   `ECONOMYOS_CHAIN`, `ECONOMYOS_PRIVATE_KEY` / `ECONOMYOS_SOLANA_KEYPAIR`);\n   keys sign locally and are never logged. Tests inject a client via\n   `runBankrAction(id, input, { client })` — no keys, no network.\n\n2. **Generated skill** — `skill/economyos/{SKILL.md,catalog.json}`, the exact\n   folder to PR into `github.com/BankrBot/skills`. Emitted by\n   `pnpm generate` from the agent-api's **live** `/openapi.json` +\n   `/.well-known/x402` output (the manifest module runs in-process — no\n   server, no external network), so the published skill can never drift from\n   the protocol. `test/generate.test.ts` enforces byte-identical committed\n   output. Never edit the generated files by hand.\n\n## Commands\n\n| Command | What it does |\n|---|---|\n| `pnpm generate` | regenerate `skill/economyos/` from the live manifest module |\n| `pnpm test` | recording-stub action tests + generator format/anti-drift tests |\n| `pnpm typecheck` / `pnpm build` | the usual |\n\n## Status\n\n- **Payment section:** the SKILL.md payment instructions are a marked\n  placeholder pending the inbound-compat decision — both candidate variants\n  live in [BANKR_PAYMENT_OPTIONS.md](./BANKR_PAYMENT_OPTIONS.md).\n- **Submission:** exact user steps in\n  [BANKR_SUBMISSION.md](./BANKR_SUBMISSION.md) (blocked on the user's Bankr +\n  GitHub accounts).\n- **Testnet only** — Base Sepolia + Solana Devnet until mainnet gates clear.\n","readmeFilename":"","_rev":"1-221f82bb9565b02005aae6385b189335"}