solana/web3.js/examples
Michael Vines be8821e0d0 fix: rename tokens to lamports 2020-06-14 21:57:04 -07:00
..
bpf-c-noop fix: update example to new sdk api (#146) 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 docs: update examples 2020-06-14 21:57:04 -07:00
account.js feat: wrap public key in a class 2020-06-14 21:57:04 -07:00
budget-timestamp.js fix: rename tokens to lamports 2020-06-14 21:57:04 -07:00
budget-two-approvers.js fix: rename tokens to lamports 2020-06-14 21:57:04 -07:00
get-balance.html docs: update examples 2020-06-14 21:57:04 -07:00
get-balance.js docs: update examples 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