Go to file
Christian Kamm 777c1a7804
Rename bank fields, make weight scale limits editable (#319)
2022-12-06 09:34:02 +01:00
.github/workflows Allow manual docker builds 2022-11-05 13:10:34 +00:00
anchor@3f8373770c Use bytemuck::Pod derives to check for accidental padding (#317) 2022-12-06 09:25:43 +01:00
anchor-tests client additions + extra tests + safety (#281) 2022-11-18 08:58:56 +01:00
cli Upgrade to Solana 1.10.35 (#291) 2022-11-16 10:50:40 +00:00
client Net borrow limits: Limit in quote, not native (#312) 2022-12-02 12:24:11 +01:00
keeper ts client sync with program (#311) 2022-12-02 15:48:43 +01:00
lib/checked_math Checked math: support cm!(a += b) 2022-09-06 08:55:27 +02:00
liquidator Client: consider borrow limits in max-swap (#316) 2022-12-06 09:25:24 +01:00
mango-macro further work on perps 2022-03-22 07:06:33 +01:00
migrations
programs Rename bank fields, make weight scale limits editable (#319) 2022-12-06 09:34:02 +01:00
py rename 2022-03-01 20:55:10 +01:00
ts/client Rename bank fields, make weight scale limits editable (#319) 2022-12-06 09:34:02 +01:00
.dockerignore wip docker 2022-07-29 11:15:26 +02:00
.eslintignore add eslint config and fix errors 2022-08-04 14:44:59 -04:00
.eslintrc.json ts client improvement (#254) 2022-09-29 15:51:09 +02:00
.gitignore ts: market maker improvements (#270) 2022-10-11 09:39:57 +02:00
.gitmodules fix small things to make ci work again (#126) 2022-07-30 09:49:56 +02:00
.prettierignore run prettier and add prettierignore 2022-08-04 14:45:09 -04:00
Anchor.toml Clarkeni/group logging (#142) 2022-08-05 10:11:44 -07:00
CHANGELOG.md Port new fields on accounts from program to ts client 2022-11-02 12:13:29 +00:00
Cargo.lock Fast I80F48 division with reduced precision (#300) 2022-11-24 11:59:00 +01:00
Cargo.toml Upgrade to Solana 1.10.35 (#291) 2022-11-16 10:50:40 +00:00
Dockerfile Run docker build on program changes 2022-11-05 13:05:30 +00: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 update 2022-08-18 08:59:51 +02:00
idl-fixup.sh IDL: Remove NodeRef and NodeRefMut enums 2022-07-22 08:35:30 +02:00
mc-release-to-devnet.sh Make anchor's lint pass 2022-08-15 10:48:43 +02:00
package.json mc/oracle peg ts client (#290) 2022-11-21 19:34:41 +01:00
release-to-devnet.sh Make anchor's lint pass 2022-08-15 10:48:43 +02:00
release-to-mainnet.sh Make anchor's lint pass 2022-08-15 10:48:43 +02:00
run-anchor-tests.sh Refactor TS client anchor tests 2022-10-08 17:48:13 +07: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 mc/oracle peg ts client (#290) 2022-11-21 19:34:41 +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 - m43thNJ58XCjL798ZSq6JGAG1BnWskhdq5or6kcnfsD

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