Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 0 additions & 9 deletions .github/workflows/cli-npm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,6 @@ jobs:
with:
version: 10

- name: Install tokenlist
working-directory: ./tokenlist
run: npm ci

- name: Install SDK
working-directory: ./sdk
run: npm ci && npm run build

- name: Install CLI
run: pnpm install --frozen-lockfile

Expand All @@ -53,7 +45,6 @@ jobs:
node -e "
const pkg = require('./package.json');
pkg.dependencies['@gobob/bob-sdk'] = '^5.0.0';
pkg.dependencies['@gobob/tokenlist'] = '^1.0.0';
require('fs').writeFileSync('package.json', JSON.stringify(pkg, null, 2));
"

Expand Down
3 changes: 1 addition & 2 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

## Overview

BOB (Build on Bitcoin) — a hybrid chain fusing Bitcoin security with Ethereum versatility. This monorepo contains Solidity smart contracts, a Rust Bitcoin relay, a TypeScript SDK, documentation site, and a token list.
BOB (Build on Bitcoin) — a hybrid chain fusing Bitcoin security with Ethereum versatility. This monorepo contains Solidity smart contracts, a Rust Bitcoin relay, a TypeScript SDK, and a documentation site.

## Architecture

Expand All @@ -13,7 +13,6 @@ BOB (Build on Bitcoin) — a hybrid chain fusing Bitcoin security with Ethereum
| Crates | `crates/` | Rust | Shared libraries — `bindings` (generated) and `bob-utils` |
| SDK | `sdk/` | TypeScript | Client SDK (`@gobob/bob-sdk`) |
| Docs | `docs/` | TypeScript | Docusaurus documentation site |
| Token List | `tokenlist/` | TypeScript | BOB token list and metadata |

## Code Style

Expand Down
4 changes: 2 additions & 2 deletions gateway-cli/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@gobob/gateway-cli",
"version": "0.1.0",
"version": "0.1.1",
"description": "CLI for bridging Bitcoin to/from EVM chains via BOB Gateway",
"repository": {
"type": "git",
Expand All @@ -21,7 +21,7 @@
},
"dependencies": {
"@gobob/bob-sdk": "^5.3.1",
"@gobob/tokenlist": "github:bob-collective/bob#295be799d481d24c84eeb2e30983309a40c650ec&path:/tokenlist",
"@gobob/tokenlist": "github:bob-collective/tokenlist#d6f8135e12a8c99b467b7abde988eb7ea2b0d22c",
"commander": "^13.1.0",
"p-retry": "^7.1.1",
"viem": "^2.31.3",
Expand Down
10 changes: 5 additions & 5 deletions gateway-cli/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion gateway-cli/src/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import { ZodError } from "zod/v4";
import { isAddress } from "viem";
import { type OutputMode, createLogger, render, formatJson, formatConfirmation, formatChains, formatTokens, formatRoutes, formatBalance } from "./output.js";
import { quoteSchema, swapSchema } from "./schemas.js";
import { version } from '../package.json';

function modeOf(opts: { json?: boolean }): OutputMode {
return opts.json ? "json" : "human";
Expand Down Expand Up @@ -37,10 +38,11 @@ function withErrorHandling(fn: (...args: any[]) => Promise<void>) {
};
}


export const program = new Command()
.name("gateway-cli")
.description("Swap between BTC and tokens like USDC, ETH, wBTC via BOB Gateway")
.version("0.2.0");
.version(version);

program
.command("routes")
Expand Down
26 changes: 6 additions & 20 deletions sdk/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion sdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"README.md"
],
"devDependencies": {
"@gobob/tokenlist": "file:../tokenlist",
"@gobob/tokenlist": "github:bob-collective/tokenlist#d6f8135e12a8c99b467b7abde988eb7ea2b0d22c",
"@openapitools/openapi-generator-cli": "^2.30.2",
"@scure/bip32": "^2.0.1",
"@types/node": "^24.3.0",
Expand Down