2022-12-29 05:13:57 -08:00
|
|
|
## Development
|
2022-04-01 01:23:47 -07:00
|
|
|
|
2022-12-29 05:13:57 -08:00
|
|
|
### Dependencies
|
|
|
|
|
|
|
|
- rust version 1.65.0
|
|
|
|
- solana-cli 1.14.9
|
2022-04-01 01:23:47 -07:00
|
|
|
- npm 8.1.2
|
|
|
|
- node v16.13.1
|
|
|
|
|
2022-12-29 05:13:57 -08:00
|
|
|
### Submodules
|
|
|
|
|
|
|
|
After cloning this repo you'll need to init and update its git submodules.
|
|
|
|
Consider setting the git option `submodule.recurse=true`.
|
|
|
|
|
|
|
|
### Deployments
|
|
|
|
|
2022-12-29 05:14:47 -08:00
|
|
|
- devnet: 4MangoMjqJ2firMokCjjGgoK8d4MXcrgL7XJaL3w6fVg
|
|
|
|
- mainnet-beta: 4MangoMjqJ2firMokCjjGgoK8d4MXcrgL7XJaL3w6fVg
|
2022-12-29 05:13:57 -08:00
|
|
|
|
|
|
|
### Notes
|
2022-04-01 01:23:47 -07:00
|
|
|
|
2022-08-17 23:59:51 -07:00
|
|
|
For testing latest program changes while developing,
|
|
|
|
just run below scripts in given order form any branch,
|
2022-08-17 23:58:46 -07:00
|
|
|
these set of scripts should more or less always work,
|
2022-08-17 23:59:51 -07:00
|
|
|
bump up GROUP_NUM if you unsure if previous GROUP_NUM has not been cleanly closed or setup with older program code
|
2022-04-13 00:16:33 -07:00
|
|
|
|
2022-08-17 23:58:46 -07:00
|
|
|
```
|
|
|
|
./release-to-devnet.sh
|
|
|
|
GROUP_NUM=4 yarn ts-node ts/client/src/scripts/devnet-admin.ts
|
|
|
|
GROUP_NUM=4 yarn ts-node ts/client/src/scripts/devnet-user.ts
|
|
|
|
GROUP_NUM=4 yarn ts-node ts/client/src/scripts/devnet-user-close-account.ts
|
|
|
|
GROUP_NUM=4 yarn ts-node ts/client/src/scripts/devnet-admin-close.ts
|
|
|
|
```
|