solana/web3.js/examples
Justin Starry 189807f5a5 feat: add commitment param to JSON RPC API requests (#549)
* feat: add commitment param to json rpc requests

* fix: tests and examples

* fix: docs

* fix: epoch info test

* fix: budget example

* fix: test timeout

* fix: remove MAX_COMMITMENT and RECENT_COMMITMENT types
2020-06-14 21:57:04 -07:00
..
bpf-c-noop fix: update examples (#485) 2020-06-14 21:57:04 -07:00
bpf-rust-noop fix: update examples (#485) 2020-06-14 21:57:04 -07:00
README.md doc: rename network to cluster 2020-06-14 21:57:04 -07:00
account.html
account.js
budget-timestamp.js feat: add commitment param to JSON RPC API requests (#549) 2020-06-14 21:57:04 -07:00
budget-two-approvers.js feat: add commitment param to JSON RPC API requests (#549) 2020-06-14 21:57:04 -07:00
get-balance.html fix: remove usage of api.*.testnet.solana.com 2020-06-14 21:57:04 -07:00
get-balance.js fix: support http endpoints (#433) 2020-06-14 21:57:04 -07:00

README.md

Examples

Before trying any of the examples in this directory please populate the lib/ directory by running npm install.

Additionally most of the examples attempt to connect to a local cluster. Start your local cluster first by running:

$ npx solana-localnet update
$ npx solana-localnet up