You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
1 day ago | |
---|---|---|
.github | 2 weeks ago | |
anchor@309c2c2f4c | 4 weeks ago | |
anchor-tests | 2 months ago | |
cli | 3 weeks ago | |
client | 2 weeks ago | |
keeper | 1 week ago | |
lib/checked_math | 5 months ago | |
liquidator | 1 week ago | |
migrations | 1 year ago | |
programs | 1 day ago | |
py | 11 months ago | |
switchboard-v2@97ed7b12de | 2 months ago | |
ts/client | 1 day ago | |
.dockerignore | 6 months ago | |
.env.sample | 2 months ago | |
.eslintignore | 6 months ago | |
.eslintrc.json | 4 months ago | |
.gitignore | 2 months ago | |
.gitmodules | 2 months ago | |
.prettierignore | 6 months ago | |
Anchor.toml | 2 months ago | |
CHANGELOG.md | 1 week ago | |
Cargo.lock | 1 week ago | |
Cargo.toml | 2 months ago | |
Dockerfile | 3 weeks ago | |
HOW-TO-RELEASE.md | 7 months ago | |
Procfile | 4 weeks ago | |
Program | 5 months ago | |
README.md | 1 month ago | |
SECURITY.md | 4 weeks ago | |
idl-fixup.sh | 2 months ago | |
package.json | 1 day ago | |
release-to-devnet.sh | 1 month ago | |
release-to-mainnet.sh | 1 month ago | |
run-anchor-tests.sh | 2 months ago | |
tsconfig.build.json | 8 months ago | |
tsconfig.cjs.json | 8 months ago | |
tsconfig.esm.json | 7 months ago | |
tsconfig.json | 4 weeks ago | |
update-local-idl.sh | 6 months ago | |
yarn.lock | 4 weeks ago |
README.md
Development
Dependencies
- rust version 1.65.0
- solana-cli 1.14.9
- npm 8.1.2
- node v16.13.1
Submodules
After cloning this repo you'll need to init and update its git submodules.
Consider setting the git option submodule.recurse=true
.
Deployments
- devnet: 4MangoMjqJ2firMokCjjGgoK8d4MXcrgL7XJaL3w6fVg
- mainnet-beta: 4MangoMjqJ2firMokCjjGgoK8d4MXcrgL7XJaL3w6fVg
Notes
For testing latest program changes while developing, just run below scripts in given order form any branch, these set of scripts should more or less always work, bump up GROUP_NUM if you unsure if previous GROUP_NUM has not been cleanly closed or setup with older program code
./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