Go to file
Christian Kamm 39bdf20813 ts: Add group.findPerpMarket() 2022-09-23 09:48:35 +02:00
.cargo
.github/workflows Fix keeper dockerfile path 2022-08-31 12:52:30 +01:00
anchor@b52f236146 make functions consistent, always return positive values for deposits or borrows 2022-08-23 13:47:08 +02:00
anchor-tests Clarkeni/ids from api (#177) 2022-08-18 08:48:45 +02:00
cli Liquidator: basic sell/buy to keep only quote 2022-08-10 16:18:41 +02:00
client Rust client: Fix remaining accounts perp oracles 2022-09-23 09:07:51 +02:00
keeper keeper: Fix logging of how many events are consumed (#235) 2022-09-23 08:23:37 +02:00
lib/checked_math Checked math: support cm!(a += b) 2022-09-06 08:55:27 +02:00
liquidator PerpLiqBankruptcy instruction 2022-09-21 09:46:54 +02:00
mango-macro
migrations
programs program: remove todos for ix which have now been implemented or not relevant (#240) 2022-09-22 17:43:01 +02:00
py
ts/client ts: Add group.findPerpMarket() 2022-09-23 09:48:35 +02: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 add custom sendTransaction to support post send callbacks 2022-08-12 17:15:12 -07:00
.gitignore ts: Additional serum3 support (#196) 2022-08-31 11:36:44 +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 changelog 2022-09-01 10:30:24 +02:00
Cargo.lock Liquidator: Force cancel serum orders 2022-09-02 12:23:59 +02:00
Cargo.toml Add "cli" command line tool to generate pda addresses 2022-08-02 09:45:12 +02:00
Dockerfile Docker CI Improvements (#195) 2022-08-31 11:37:58 +02:00
HOW-TO-RELEASE.md
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
mc-release-to-devnet.sh Make anchor's lint pass 2022-08-15 10:48:43 +02:00
package.json v0.0.1-beta.2 2022-09-12 12:34:55 -04: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
tsconfig.build.json
tsconfig.cjs.json
tsconfig.esm.json
tsconfig.json turn on strict null checks and fix issues (#201) 2022-08-31 11:41:12 +02:00
update-local-idl.sh Make anchor's lint pass 2022-08-15 10:48:43 +02:00
yarn.lock mc/switchboard ts support (#182) 2022-08-24 10:16:43 +02: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