@alchemy/x402 0.2.0 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +5 -55
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -12,16 +12,16 @@ pnpm add @alchemy/x402
12
12
 
13
13
  ```bash
14
14
  # Generate a new wallet
15
- npx alchemy-x402 wallet generate
15
+ npx @alchemy/x402 wallet generate
16
16
 
17
17
  # Import an existing wallet (accepts key or file path)
18
- npx alchemy-x402 wallet import --private-key <key>
18
+ npx @alchemy/x402 wallet import --private-key <key>
19
19
 
20
20
  # Generate a SIWE token
21
- npx alchemy-x402 sign-siwe --private-key <key> --expires-after 1h
21
+ npx @alchemy/x402 sign-siwe --private-key <key> --expires-after 1h
22
22
 
23
23
  # Create an x402 payment from a PAYMENT-REQUIRED header
24
- npx alchemy-x402 pay --private-key <key> --payment-required <header>
24
+ npx @alchemy/x402 pay --private-key <key> --payment-required <header>
25
25
  ```
26
26
 
27
27
  ## Library
@@ -90,56 +90,6 @@ All commands and functions accept private keys as:
90
90
  - Raw hex string: `ac09...`
91
91
  - File path: `/path/to/keyfile`
92
92
 
93
- ## Development
94
-
95
- ### Prerequisites
96
-
97
- - Node.js >= 20
98
- - [pnpm](https://pnpm.io/)
99
-
100
- **Option A** — [mise](https://mise.jdx.dev/) (recommended, installs both Node and pnpm from `.tool-versions`):
101
-
102
- ```bash
103
- mise install
104
- ```
105
-
106
- **Option B** — [corepack](https://nodejs.org/api/corepack.html) (ships with Node, reads `packageManager` from package.json):
107
-
108
- ```bash
109
- corepack enable
110
- ```
111
-
112
- ### Getting started
113
-
114
- ```bash
115
- git clone git@github.com:alchemyplatform/alchemy-x402.git
116
- cd alchemy-x402
117
- pnpm install
118
- pnpm run build
119
- pnpm run typecheck
120
- pnpm test
121
- ```
122
-
123
93
  ## For maintainers
124
94
 
125
- ### Adding a changeset
126
-
127
- This project uses [Changesets](https://github.com/changesets/changesets) for versioning and npm publishing.
128
-
129
- When your PR includes a user-facing change, add a changeset:
130
-
131
- ```bash
132
- pnpm run changeset
133
- ```
134
-
135
- Select the semver bump type (patch/minor/major) and describe the change. Commit the generated `.changeset/*.md` file with your PR.
136
-
137
- ### Release flow
138
-
139
- 1. Merge PRs with changeset files to `main`
140
- 2. CI automatically opens a "Version Packages" PR that bumps the version and updates `CHANGELOG.md`
141
- 3. Merge the version PR to publish to npm
142
-
143
- ### Secrets
144
-
145
- Add an `NPM_PUBLISH_TOKEN` secret to the repo (**Settings > Secrets and variables > Actions**) with a token from [npmjs.com](https://www.npmjs.com/settings/~/tokens).
95
+ See [MAINTAINERS.md](./MAINTAINERS.md).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alchemy/x402",
3
- "version": "0.2.0",
3
+ "version": "0.3.0",
4
4
  "description": "CLI and library for Alchemy x402 authentication and payments",
5
5
  "type": "module",
6
6
  "exports": {