Go to file
microwavedcola1 37479a159d
idl deploy workaround, reduce size by cutting largest fields i.e. docs (#334)
* idl deploy workaround, reduce size by cutting largest fields i.e. docs

Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>

* fixes from review

Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>

* Fixes from review

Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>

Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2022-12-14 09:55:25 +01:00
.github/workflows Upgrade to solana ~1.14.9 2022-12-13 17:00:57 +01:00
anchor@309c2c2f4c Upgrade to solana ~1.14.9 2022-12-13 17:00:57 +01:00
anchor-tests switch to new vanity address 2022-12-08 10:23:12 +01:00
cli Upgrade to solana ~1.14.9 2022-12-13 17:00:57 +01:00
client Upgrade to solana ~1.14.9 2022-12-13 17:00:57 +01:00
keeper Upgrade to solana ~1.14.9 2022-12-13 17:00:57 +01:00
lib/checked_math Checked math: support cm!(a += b) 2022-09-06 08:55:27 +02:00
liquidator Upgrade to solana ~1.14.9 2022-12-13 17:00:57 +01:00
migrations First commit 2022-01-21 19:21:46 +01:00
programs Mc/health max swap with serum effects (#333) 2022-12-14 09:21:45 +01:00
py rename 2022-03-01 20:55:10 +01:00
switchboard-v2@97ed7b12de Upgrade to solana ~1.14.9 2022-12-13 17:00:57 +01:00
ts/client Mc/health max swap with serum effects (#333) 2022-12-14 09:21:45 +01:00
.dockerignore wip docker 2022-07-29 11:15:26 +02:00
.env.sample add dotenv for client config vars 2022-12-05 14:48:06 -05:00
.eslintignore add eslint config and fix errors 2022-08-04 13:42:41 -04:00
.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 run prettier and add prettierignore 2022-08-04 14:13:46 -04:00
Anchor.toml Don't compile the margin-trade fixture all the time 2022-12-08 20:48:44 +01:00
CHANGELOG.md Port new fields on accounts from program to ts client 2022-11-02 12:13:29 +00:00
Cargo.lock Upgrade to solana ~1.14.9 2022-12-13 17:00:57 +01:00
Cargo.toml Upgrade to solana ~1.14.9 2022-12-13 17:00:57 +01:00
Dockerfile Disable cargo-chef in Docker build (#326) 2022-12-09 10:07:49 +01:00
HOW-TO-RELEASE.md update 2022-07-14 10:14:23 +02:00
Program ts: Additional serum3 support (#196) 2022-08-31 11:36:44 +02:00
README.md switch to new vanity address 2022-12-08 10:23:12 +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 Mc/health max swap with serum effects (#333) 2022-12-14 09:21:45 +01:00
release-to-devnet.sh idl deploy workaround, reduce size by cutting largest fields i.e. docs (#334) 2022-12-14 09:55:25 +01:00
release-to-mainnet.sh idl deploy workaround, reduce size by cutting largest fields i.e. docs (#334) 2022-12-14 09:55:25 +01:00
run-anchor-tests.sh switch to new vanity address 2022-12-08 10:23:12 +01:00
tsconfig.build.json integrate initial pass of orcas devnet swap 2022-06-10 09:02:10 -04:00
tsconfig.cjs.json integrate initial pass of orcas devnet swap 2022-06-10 09:02:10 -04:00
tsconfig.esm.json add esm tsconfig 2022-06-30 13:17:10 -04:00
tsconfig.json ts: fix typechecking on scripts (#269) 2022-10-11 09:38:52 +02:00
update-local-idl.sh Make anchor's lint pass 2022-08-15 10:48:43 +02:00
yarn.lock make mm work with mango-perp, deposit some funds into shared wallet mango account, fixed some ts perp issues 2022-12-09 20:23:30 +01:00

README.md

Development

  • rust version 1.59.0 (9d1b2106e 2022-02-23)
  • solana-cli 1.9.13
  • anchor-cli 0.24.2
  • npm 8.1.2
  • node v16.13.1

Devnet deployment - 4MangoMjqJ2firMokCjjGgoK8d4MXcrgL7XJaL3w6fVg

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