2018-08-23 08:12:51 -07:00
|
|
|
## Examples
|
|
|
|
Before trying any of the examples in this directory please populate the `lib/`
|
2018-10-02 20:51:19 -07:00
|
|
|
directory by running `npm install`.
|
|
|
|
|
2019-03-04 08:16:13 -08:00
|
|
|
Additionally most of the examples attempt to connect to a local cluster. Start
|
|
|
|
your local cluster first by running:
|
2018-10-02 20:51:19 -07:00
|
|
|
```bash
|
|
|
|
$ npx solana-localnet update
|
|
|
|
$ npx solana-localnet up
|
|
|
|
```
|