{"id":46093160,"url":"https://github.com/benjaminjnoack/crypto-tools","last_synced_at":"2026-04-01T23:44:20.511Z","repository":{"id":342931043,"uuid":"1175631674","full_name":"benjaminjnoack/crypto-tools","owner":"benjaminjnoack","description":"Coinbase CLI tools and shared TypeScript library utilities","archived":false,"fork":false,"pushed_at":"2026-03-08T04:04:28.000Z","size":343,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-03-08T07:37:47.059Z","etag":null,"topics":["cli","coinbase","coinbase-advanced-trade","coinbase-api","crypto","cryptocurrency","trading","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/benjaminjnoack.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":"AGENTS.md","dco":null,"cla":null}},"created_at":"2026-03-08T00:46:43.000Z","updated_at":"2026-03-08T04:04:31.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/benjaminjnoack/crypto-tools","commit_stats":null,"previous_names":["benjaminjnoack/crypto-tools"],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/benjaminjnoack/crypto-tools","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benjaminjnoack%2Fcrypto-tools","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benjaminjnoack%2Fcrypto-tools/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benjaminjnoack%2Fcrypto-tools/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benjaminjnoack%2Fcrypto-tools/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/benjaminjnoack","download_url":"https://codeload.github.com/benjaminjnoack/crypto-tools/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benjaminjnoack%2Fcrypto-tools/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30446431,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-12T21:31:01.033Z","status":"ssl_error","status_checked_at":"2026-03-12T21:30:43.161Z","response_time":114,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cli","coinbase","coinbase-advanced-trade","coinbase-api","crypto","cryptocurrency","trading","typescript"],"created_at":"2026-03-01T18:08:06.652Z","updated_at":"2026-04-01T23:44:20.498Z","avatar_url":"https://github.com/benjaminjnoack.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# crypto-tools\n\nCoinbase operations toolkit: `cb` for trade planning and order lifecycle management, `hdb` for ledger ingestion/reconciliation and tax-facing analytics, `hdb-portal` for local read-only web analysis, plus shared TypeScript modules for authenticated API access and reusable CLI infrastructure.\n\n## What is here\n\n- `cb`: trading operations CLI (quotes, sizing, plan workflows, order lifecycle) (`src/apps/cb`)\n- `hdb`: accounting/data CLI (imports, snapshots, lots, reconciliation, exports) (`src/apps/hdb`)\n- `hdb-portal`: local web portal for `hdb` analysis (`src/apps/hdb-portal`)\n- `shared`: reusable Coinbase/auth/env/log/schema modules (`src/shared`)\n- `helper-env-check`: env/credential validation binary (`src/shared/bin/validate-env.ts`)\n\n## Imports\n\nUse explicit relative imports with `.js` specifiers under NodeNext.\n\n## Requirements\n\n- Node.js `\u003e=20`\n- npm\n\n## Quick Start\n\n```bash\nnpm install\nmkdir -p \"${XDG_CONFIG_HOME:-$HOME/.config}/helper\"\ncp .env.example \"${XDG_CONFIG_HOME:-$HOME/.config}/helper/.env\"\n```\n\nSet this value in the env file:\n\n```bash\nHELPER_COINBASE_CREDENTIALS_PATH=/absolute/path/to/coinbase-credentials.json\nHELPER_ALLOW_LIVE_EXCHANGE=true\n```\n\nCreate Coinbase App API credentials using:\nhttps://docs.cdp.coinbase.com/coinbase-app/authentication-authorization/api-key-authentication\n\nWhen creating the key in CDP, select the `ECDSA` signature algorithm (`ES256`).\n\nBuild and link binaries locally:\n\n```bash\nnpm run build\nnpm link\n```\n\n## Running CLIs\n\n- `cb --help`\n- `hdb --help`\n- `helper-env-check --help`\n\nFrom source:\n\n- `npm run dev -- --help` (runs `cb`)\n- `npm run dev:hdb -- --help` (runs `hdb`)\n\n## Documentation\n\n- [`cb CLI README`](src/apps/cb/README.md)\n- [`src/apps/hdb/README.md`](src/apps/hdb/README.md)\n- [`src/apps/hdb/README.postgres.md`](src/apps/hdb/README.postgres.md)\n- [`src/apps/hdb-portal/README.md`](src/apps/hdb-portal/README.md)\n- [`src/shared/README.md`](src/shared/README.md)\n- [`CONTRIBUTING.md`](CONTRIBUTING.md)\n\n## Quality Checks\n\n```bash\nnpm run lint\nnpm run typecheck\nnpm run test\nnpm run build\n```\n\nIntegration smoke checks (readonly mode + sanitized env):\n\n```bash\nnpm run test:integration:smoke\n```\n\nOverride readonly env file path when needed:\n\n```bash\nINTEGRATION_ENV_FILE=/absolute/path/to/.env.readonly npm run test:integration:smoke\n```\n\n## License\n\nApache-2.0\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbenjaminjnoack%2Fcrypto-tools","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbenjaminjnoack%2Fcrypto-tools","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbenjaminjnoack%2Fcrypto-tools/lists"}