Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

starknet-json-rpc-validation

To install dependencies:

bun install

To run:

cp .env.example .env
bun run src/index.ts validate \
  --method "starknet_getBlockWithReceipts" \
  --params '[{"block_number": 1586569}]'

SPEC_URL should be a direct JSON URL (e.g. raw.githubusercontent.com).

Optional headers:

bun run src/index.ts validate \
  --method "starknet_getBlockWithReceipts" \
  --params '[{"block_number": 1586569}]' \
  -H "x-api-key: abc"

Debug output (prints small details and writes strpc-debug.json):

bun run src/index.ts validate \
  --method "starknet_getBlockWithReceipts" \
  --params '[{"block_number": 1586569}]' \
  --debug"

This project was created using bun init in bun v1.3.6. Bun is a fast all-in-one JavaScript runtime.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages