Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
aeec0e5
Add Sei and Sei testnet support
dssei Jun 13, 2025
8d224e8
tweak getChainConfig
dssei Jun 14, 2025
25a2d60
add more tests
dssei Jun 16, 2025
fe86f61
copy of facilitator
dssei Jun 16, 2025
5202276
add CDK stack
dssei Jun 16, 2025
bfcf528
working draft
dssei Jun 17, 2025
594df04
.ignore idea files
dssei Jun 17, 2025
6a9ea12
self review tweaks
dssei Jun 17, 2025
54ada7f
fix `pnpm dev`
dssei Jun 17, 2025
4f362b3
few tweaks
dssei Jun 17, 2025
e0f2c23
rename index.ts to index.js, fix errors
dssei Jun 17, 2025
70856ad
add publish workflow
dssei Jun 18, 2025
5ebc617
update lock file
dssei Jun 18, 2025
92e0c5e
fix linting errors
dssei Jun 18, 2025
a6db1cb
fix formatting
dssei Jun 18, 2025
1238825
update release action
dssei Jun 18, 2025
bafff00
self review tweaks
dssei Jun 18, 2025
18d56a6
change directory before change set search
dssei Jun 23, 2025
f2e590c
move changeset to root directory
dssei Jun 23, 2025
1c64136
update lock file
dssei Jun 23, 2025
f12c427
install deps after changing dir to typescript
dssei Jun 23, 2025
0d31ea3
remove old changeset and add a new one
dssei Jun 23, 2025
47ffffa
add changeset
dssei Jun 24, 2025
ad79767
fix issue in viem.d.ts
dssei Jun 25, 2025
83ba96c
update lock file
dssei Jun 25, 2025
a255551
trigger publish workflow
dssei Jun 25, 2025
211405c
update readme
dssei Jun 25, 2025
6e8ee54
fix README.md
dssei Jul 2, 2025
741c3e8
refactor to comply with upstream changes
dssei Jul 3, 2025
e9ca06e
update AWS example
dssei Jul 3, 2025
43c4aaf
Implement GenZK-402 Client for crypto payments
Pray4Love1 Nov 4, 2025
0511240
Add smart contracts for identity and payment management
Pray4Love1 Nov 4, 2025
1b57a9f
Add GenZk402 mobile app with multiple screens
Pray4Love1 Nov 4, 2025
c6bea08
Add Flask API for wallet and payment services
Pray4Love1 Nov 4, 2025
e260d15
Add jest dev dependency (#3)
Pray4Love1 Jan 12, 2026
e87c021
Fix payment nonce handling and retry reset (#6)
Pray4Love1 Jan 24, 2026
e9692e0
Fix pnpm workspace usage in workflows (#9)
Pray4Love1 Jan 25, 2026
8493d4a
Normalize nonce serialization and reset retry flag (#11)
Pray4Love1 Jan 25, 2026
ab225f2
Refactor retry handling in HTTPX client
Pray4Love1 Jan 26, 2026
c5ba5c6
fix(site): remove invalid x402-next workspace dependency
Pray4Love1 Feb 10, 2026
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
11 changes: 11 additions & 0 deletions .changeset/config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"$schema": "https://unpkg.com/@changesets/config@3.0.0/schema.json",
"changelog": "@changesets/cli/changelog",
"commit": false,
"fixed": [],
"linked": [],
"access": "public",
"baseBranch": "main",
"updateInternalDependencies": "patch",
"ignore": []
}
11 changes: 11 additions & 0 deletions .changeset/fancy-olives-agree.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
"@sei-js/coinbase-x402": patch
"@sei-js/x402": patch
"@sei-js/x402-axios": patch
"@sei-js/x402-express": patch
"@sei-js/x402-fetch": patch
"@sei-js/x402-hono": patch
"@sei-js/x402-next": patch
---

Publish all packages
11 changes: 11 additions & 0 deletions .changeset/major-trains-retire.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
"@sei-js/coinbase-x402": patch
"@sei-js/x402-express": patch
"@sei-js/x402-axios": patch
"@sei-js/x402-fetch": patch
"@sei-js/x402-hono": patch
"@sei-js/x402-next": patch
"@sei-js/x402": patch
---

Update packages scope
5 changes: 5 additions & 0 deletions .changeset/pink-windows-cover.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"x402": minor
---

Add Sei network support
5 changes: 2 additions & 3 deletions .github/workflows/check_format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,11 @@ jobs:
with:
node-version: "20"
cache: "pnpm"
cache-dependency-path: ./typescript
cache-dependency-path: pnpm-lock.yaml
- name: Ensure formatting
working-directory: ./typescript
run: |
pnpm install --frozen-lockfile
pnpm format:check
pnpm -C typescript format:check

check-format-examples-typescript:
runs-on: ubuntu-latest
Expand Down
7 changes: 3 additions & 4 deletions .github/workflows/check_lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,11 @@ jobs:
with:
node-version: "20"
cache: "pnpm"
cache-dependency-path: ./typescript
cache-dependency-path: pnpm-lock.yaml
- name: Ensure Linting
working-directory: ./typescript
run: |
pnpm install --frozen-lockfile
pnpm lint:check
pnpm -C typescript lint:check

check-lint-examples-typescript:
runs-on: ubuntu-latest
Expand All @@ -38,4 +37,4 @@ jobs:
working-directory: ./examples/typescript
run: |
pnpm install --frozen-lockfile
pnpm lint:check
pnpm lint:check
5 changes: 2 additions & 3 deletions .github/workflows/check_package_lock.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,9 @@ jobs:
with:
node-version: "20"
cache: "pnpm"
cache-dependency-path: ./typescript
cache-dependency-path: pnpm-lock.yaml

- name: Check if pnpm-lock.yaml changed
working-directory: ./typescript
run: |
pnpm install
if [ -n "$(git diff pnpm-lock.yaml)" ]; then
Expand Down Expand Up @@ -52,4 +51,4 @@ jobs:
echo "Error: pnpm-lock.yaml was modified after running pnpm install. Please commit the updated pnpm-lock.yaml file."
git diff pnpm-lock.yaml
exit 1
fi
fi
5 changes: 2 additions & 3 deletions .github/workflows/publish_npm_coinbase_x402.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,9 @@ jobs:
node-version: "20"
registry-url: "https://registry.npmjs.org"
cache: "pnpm"
cache-dependency-path: ./typescript
cache-dependency-path: pnpm-lock.yaml

- name: Install and build
working-directory: ./typescript
run: |
pnpm install --frozen-lockfile
pnpm -r --filter=x402 --filter=@coinbase/x402 run build
Expand All @@ -49,4 +48,4 @@ jobs:
pnpm publish --dry-run --no-git-checks
fi
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
5 changes: 2 additions & 3 deletions .github/workflows/publish_npm_x402.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,9 @@ jobs:
node-version: "20"
registry-url: "https://registry.npmjs.org"
cache: "pnpm"
cache-dependency-path: ./typescript
cache-dependency-path: pnpm-lock.yaml

- name: Install and build
working-directory: ./typescript
run: |
pnpm install --frozen-lockfile
pnpm -r --filter=x402 run build
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/publish_npm_x402_axios.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,9 @@ jobs:
node-version: "20"
registry-url: "https://registry.npmjs.org"
cache: "pnpm"
cache-dependency-path: ./typescript
cache-dependency-path: pnpm-lock.yaml

- name: Install and build
working-directory: ./typescript
run: |
pnpm install --frozen-lockfile
pnpm -r --filter=x402 --filter=x402-axios run build
Expand All @@ -49,4 +48,4 @@ jobs:
pnpm publish --dry-run --no-git-checks
fi
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
5 changes: 2 additions & 3 deletions .github/workflows/publish_npm_x402_express.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,9 @@ jobs:
node-version: "20"
registry-url: "https://registry.npmjs.org"
cache: "pnpm"
cache-dependency-path: ./typescript
cache-dependency-path: pnpm-lock.yaml

- name: Install and build
working-directory: ./typescript
run: |
pnpm install --frozen-lockfile
pnpm -r --filter=x402 --filter=x402-express run build
Expand All @@ -49,4 +48,4 @@ jobs:
pnpm publish --dry-run --no-git-checks
fi
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
5 changes: 2 additions & 3 deletions .github/workflows/publish_npm_x402_fetch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,9 @@ jobs:
node-version: "20"
registry-url: "https://registry.npmjs.org"
cache: "pnpm"
cache-dependency-path: ./typescript
cache-dependency-path: pnpm-lock.yaml

- name: Install and build
working-directory: ./typescript
run: |
pnpm install --frozen-lockfile
pnpm -r --filter=x402 --filter=x402-fetch run build
Expand All @@ -49,4 +48,4 @@ jobs:
pnpm publish --dry-run --no-git-checks
fi
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
3 changes: 1 addition & 2 deletions .github/workflows/publish_npm_x402_hono.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ jobs:
with:
version: 10.7.0
- name: Install and build
working-directory: ./typescript
run: |
pnpm install --frozen-lockfile
pnpm -r --filter=x402 --filter=x402-hono run build
Expand All @@ -43,4 +42,4 @@ jobs:
pnpm publish --dry-run --no-git-checks
fi
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
3 changes: 1 addition & 2 deletions .github/workflows/publish_npm_x402_next.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ jobs:
with:
version: 10.7.0
- name: Install and build
working-directory: ./typescript
run: |
pnpm install --frozen-lockfile
pnpm -r --filter=x402 --filter=x402-next run build
Expand All @@ -43,4 +42,4 @@ jobs:
pnpm publish --dry-run --no-git-checks
fi
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
57 changes: 57 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
name: Release @sei-js packages

on:
push:
branches:
- main
paths:
- "typescript/**"

concurrency: ${{ github.workflow }}-${{ github.ref }}

jobs:
release:
name: Release
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write
id-token: write
steps:
- name: Checkout Repo
uses: actions/checkout@v4
with:
fetch-depth: 0
# This makes Actions fetch all Git history so that Changesets can generate changelogs with the correct commits
token: ${{ secrets.GITHUB_TOKEN }}

- name: Setup pnpm
uses: pnpm/action-setup@v4
with:
version: 10.7.0

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20
registry-url: "https://registry.npmjs.org"
cache: "pnpm"

- name: Install Root Dependencies
run: pnpm install --frozen-lockfile

- name: Install TypeScript Dependencies
working-directory: ./typescript
run: pnpm install --frozen-lockfile

- name: Build Packages
run: pnpm build

- name: Create Release Pull Request or Publish to npm
id: changesets
uses: changesets/action@v1
with:
publish: pnpm release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
5 changes: 2 additions & 3 deletions .github/workflows/unit_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,9 @@ jobs:
with:
node-version: ${{ matrix.node-version }}
cache: "pnpm"
cache-dependency-path: ./typescript
cache-dependency-path: pnpm-lock.yaml

- name: Install and Test
working-directory: ./typescript
run: |
pnpm install --frozen-lockfile
pnpm run test
pnpm -C typescript run test
35 changes: 26 additions & 9 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,12 +1,29 @@
.env
# CDK / AWS
cdk.out/
.cdk.staging/
*.js
*.d.ts

# Node
node_modules/
dist/
.turbo/
.next/
proxy
.env
pnpm-lock.yaml # or keep if you want it versioned

# Python
__pycache__/
*.pyc
.venv/

# Env / secrets
.env
.env.local

# IDE
.idea/
*.iml

# macOS
**/.DS_Store
e2e/facilitators/external-proxies/*
!e2e/facilitators/external-proxies/README.md
typescript/package-lock.json

# Misc
dist/
build/
Loading