Skip to content

Commit

Permalink
added poseidon_token_swap
Browse files Browse the repository at this point in the history
  • Loading branch information
adpthegreat committed Oct 26, 2024
1 parent b6d7470 commit d1d0a42
Show file tree
Hide file tree
Showing 12 changed files with 445 additions and 354 deletions.
4 changes: 2 additions & 2 deletions tokens/token-swap/poseidon/token_swap/Anchor.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ resolution = true
skip-lint = false

[programs.localnet]
token_swap = "HTHicHG8fZgn6sCX3HjnfJHD4vpbPMBPZ1mjED1cpFdt"
token_swap = "3dDaJxmPcmQVfSx9rX4xHyP5rJvkwdKcNujcX2z9KB9h"

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

[scripts]
test = "pnpm run ts-mocha -p ./tsconfig.json -t 1000000 tests/**/*.ts"
test = "pnpm run ts-mocha -p ./tsconfig.json -t 1000000 tests/create-pool.ts"
4 changes: 3 additions & 1 deletion tokens/token-swap/poseidon/token_swap/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@
},
"dependencies": {
"@coral-xyz/anchor": "^0.30.1",
"@solana/spl-token": "^0.4.9"
"@solana/spl-token": "^0.4.9",
"anchor-bankrun": "^0.5.0",
"solana-bankrun": "^0.4.0"
},
"devDependencies": {
"@types/bn.js": "^5.1.0",
Expand Down
83 changes: 83 additions & 0 deletions tokens/token-swap/poseidon/token_swap/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ no-entrypoint = []
no-idl = []
no-log-ix-name = []
idl-build = ["anchor-lang/idl-build","anchor-spl/idl-build"]
anchor-lang = { version = "0.30.1", features = ["init-if-needed"]}

[dependencies]
anchor-lang = "0.30.1"
anchor-lang = { version = "0.30.1", features = ["init-if-needed"]}
anchor-spl = "0.30.1"
Loading

0 comments on commit d1d0a42

Please sign in to comment.