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.
 
 
 
Christian Kamm d3cbb9e2ec
Create a single rust test binary (#425)
1 day ago
.github ci: add PR labels and combine workflows (#407) 2 weeks ago
anchor@309c2c2f4c reduce only order type and mode for tokens and perp markets (#353) 4 weeks ago
anchor-tests switch to new vanity address 2 months ago
cli Bump program version to 0.3.0 3 weeks ago
client abort if new tokens or perp markets listed (#411) 2 weeks ago
keeper todo 1 week ago
lib/checked_math Checked math: support cm!(a += b) 5 months ago
liquidator Perp: Clarify has_open_orders use during liquidation (#412) 1 week ago
migrations First commit 1 year ago
programs Create a single rust test binary (#425) 1 day ago
py rename 11 months ago
switchboard-v2@97ed7b12de Upgrade to solana ~1.14.9 2 months ago
ts/client try exporting explicitly 1 day ago
.dockerignore wip docker 6 months ago
.env.sample add dotenv for client config vars 2 months ago
.eslintignore add eslint config and fix errors 6 months ago
.eslintrc.json ts client improvement (#254) 4 months ago
.gitignore add dotenv for client config vars 2 months ago
.gitmodules Upgrade to solana ~1.14.9 2 months ago
.prettierignore run prettier and add prettierignore 6 months ago
Anchor.toml Don't compile the margin-trade fixture all the time 2 months ago
CHANGELOG.md Add v0.4.0 deployment info 1 week ago
Cargo.lock Bump program version to v0.5.0 1 week ago
Cargo.toml Upgrade to solana ~1.14.9 2 months ago
Dockerfile Bump dockerfile rust version 3 weeks ago
HOW-TO-RELEASE.md update 7 months ago
Procfile Setup MM for Heroku deployments (#358) 4 weeks ago
Program ts: Additional serum3 support (#196) 5 months ago
README.md README formatting 1 month ago
SECURITY.md add security policy and on-chain metadata (#361) 4 weeks ago
idl-fixup.sh idl deploy workaround, reduce size by cutting largest fields i.e. docs (#334) 2 months ago
package.json v0.4.2 1 day ago
release-to-devnet.sh change to new authority 1 month ago
release-to-mainnet.sh move to new authority and admin 1 month ago
run-anchor-tests.sh switch to new vanity address 2 months ago
tsconfig.build.json integrate initial pass of orcas devnet swap 8 months ago
tsconfig.cjs.json integrate initial pass of orcas devnet swap 8 months ago
tsconfig.esm.json add esm tsconfig 7 months ago
tsconfig.json Setup MM for Heroku deployments (#358) 4 weeks ago
update-local-idl.sh Make anchor's lint pass 6 months ago
yarn.lock Merge branch 'dev' 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