Skip to content

Commit d1d0a42

Browse files
author
adpthegreat
committed
added poseidon_token_swap
1 parent b6d7470 commit d1d0a42

File tree

12 files changed

+445
-354
lines changed

12 files changed

+445
-354
lines changed

tokens/token-swap/poseidon/token_swap/Anchor.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ resolution = true
55
skip-lint = false
66

77
[programs.localnet]
8-
token_swap = "HTHicHG8fZgn6sCX3HjnfJHD4vpbPMBPZ1mjED1cpFdt"
8+
token_swap = "3dDaJxmPcmQVfSx9rX4xHyP5rJvkwdKcNujcX2z9KB9h"
99

1010
[registry]
1111
url = "https://api.apr.dev"
@@ -15,4 +15,4 @@ cluster = "Localnet"
1515
wallet = "~/.config/solana/id.json"
1616

1717
[scripts]
18-
test = "pnpm run ts-mocha -p ./tsconfig.json -t 1000000 tests/**/*.ts"
18+
test = "pnpm run ts-mocha -p ./tsconfig.json -t 1000000 tests/create-pool.ts"

tokens/token-swap/poseidon/token_swap/package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@
77
},
88
"dependencies": {
99
"@coral-xyz/anchor": "^0.30.1",
10-
"@solana/spl-token": "^0.4.9"
10+
"@solana/spl-token": "^0.4.9",
11+
"anchor-bankrun": "^0.5.0",
12+
"solana-bankrun": "^0.4.0"
1113
},
1214
"devDependencies": {
1315
"@types/bn.js": "^5.1.0",

tokens/token-swap/poseidon/token_swap/pnpm-lock.yaml

Lines changed: 83 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tokens/token-swap/poseidon/token_swap/programs/token_swap/Cargo.toml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ no-entrypoint = []
1515
no-idl = []
1616
no-log-ix-name = []
1717
idl-build = ["anchor-lang/idl-build","anchor-spl/idl-build"]
18-
anchor-lang = { version = "0.30.1", features = ["init-if-needed"]}
18+
1919
[dependencies]
20-
anchor-lang = "0.30.1"
20+
anchor-lang = { version = "0.30.1", features = ["init-if-needed"]}
21+
anchor-spl = "0.30.1"

0 commit comments

Comments
 (0)