Skip to content

Commit 7a7261d

Browse files
authored
Apply suggestions from code review
1 parent b3ec7b0 commit 7a7261d

File tree

1 file changed

+1
-25
lines changed

1 file changed

+1
-25
lines changed

README.md

Lines changed: 1 addition & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -250,31 +250,7 @@ python3 scripts/cmd/cmd.py bench bulletin-polkadot
250250

251251
# Examples (JavaScript-based)
252252

253-
The `examples/` directory contains Node.js scripts demonstrating how to interact with the Bulletin chain. For detailed setup and usage instructions, see [examples/README.md](./examples/README.md).
254-
255-
## Quick Start
256-
257-
1. **Install dependencies:**
258-
```bash
259-
npm install
260-
```
261-
262-
2. **Generate PAPI descriptors (for type-safe API):**
263-
264-
Make sure your Bulletin node is running, then:
265-
```bash
266-
npm run papi:generate
267-
```
268-
269-
This generates TypeScript type definitions in `.papi/` based on your chain's metadata. The `.papi/` folder is generated and should not be committed to git (it's listed in `.gitignore`).
270-
271-
3. **Run examples:**
272-
```bash
273-
cd examples
274-
node authorize_and_store_papi.js
275-
```
276-
277-
For more details on PAPI (Polkadot API), see [examples/README_PAPI.md](./examples/README_PAPI.md).
253+
The `examples/` directory contains Node.js (PJS and/or PAPI) scripts demonstrating how to interact with the Bulletin chain. For detailed setup and usage instructions, see [examples/README.md](./examples/README.md).
278254

279255
# Troubleshooting
280256

0 commit comments

Comments
 (0)