Go to file
microwavedcola1 0ba7ecd506 Fix health region ix code
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2023-02-02 19:02:30 +01:00
.github ci: add PR labels and combine workflows (#407) 2023-01-20 13:57:09 +00:00
anchor@309c2c2f4c reduce only order type and mode for tokens and perp markets (#353) 2023-01-04 09:24:40 +01:00
anchor-tests switch to new vanity address 2022-12-08 10:23:12 +01:00
cli Rust client: Add prioritization fee option (#433) 2023-02-02 14:23:33 +01:00
client Rust client: Add prioritization fee option (#433) 2023-02-02 14:23:33 +01:00
keeper Rust client: Add prioritization fee option (#433) 2023-02-02 14:23:33 +01:00
lib/checked_math Checked math: support cm!(a += b) 2022-09-06 08:55:27 +02:00
liquidator Rust client: Add prioritization fee option (#433) 2023-02-02 14:23:33 +01:00
migrations
programs Bump program version to 0.6.0 2023-02-02 10:54:54 +01:00
py
switchboard-v2@97ed7b12de Upgrade to solana ~1.14.9 2022-12-13 17:00:57 +01:00
ts/client Fix health region ix code 2023-02-02 19:02:30 +01:00
.dockerignore
.env.sample add dotenv for client config vars 2022-12-05 14:48:06 -05:00
.eslintignore
.eslintrc.json ts client improvement (#254) 2022-09-29 15:51:09 +02:00
.gitignore add dotenv for client config vars 2022-12-05 14:48:06 -05:00
.gitmodules Upgrade to solana ~1.14.9 2022-12-13 17:00:57 +01:00
.prettierignore
Anchor.toml Don't compile the margin-trade fixture all the time 2022-12-08 20:48:44 +01:00
CHANGELOG.md Program v0.5.0 deployment info 2023-02-02 10:52:50 +01:00
Cargo.lock Bump program version to 0.6.0 2023-02-02 10:54:54 +01:00
Cargo.toml Upgrade to solana ~1.14.9 2022-12-13 17:00:57 +01:00
Dockerfile Bump dockerfile rust version 2023-01-12 20:34:13 +00:00
HOW-TO-RELEASE.md
Procfile Setup MM for Heroku deployments (#358) 2023-01-02 19:21:08 +00:00
Program ts: Additional serum3 support (#196) 2022-08-31 11:36:44 +02:00
README.md README formatting 2022-12-29 14:14:47 +01:00
SECURITY.md add security policy and on-chain metadata (#361) 2023-01-04 18:13:29 +00:00
fix-npm-tag.sh add script to rename tag added by npm 2023-02-01 13:49:31 +01:00
idl-fixup.sh idl deploy workaround, reduce size by cutting largest fields i.e. docs (#334) 2022-12-14 09:55:25 +01:00
package.json v0.4.3 2023-02-01 13:47:42 +01:00
release-to-devnet.sh change to new authority 2022-12-19 15:38:06 +01:00
release-to-mainnet.sh move to new authority and admin 2022-12-19 19:50:09 +01:00
run-anchor-tests.sh switch to new vanity address 2022-12-08 10:23:12 +01:00
tsconfig.build.json
tsconfig.cjs.json
tsconfig.esm.json
tsconfig.json Setup MM for Heroku deployments (#358) 2023-01-02 19:21:08 +00:00
update-local-idl.sh Make anchor's lint pass 2022-08-15 10:48:43 +02:00
yarn.lock Merge branch 'dev' 2023-01-04 13:23:48 +01:00

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