Skip to content

Commit 9b6c969

Browse files
authored
add tokens/token-2022/transfer-hook/transfer-switch/anchor (#317)
1 parent 08ef4e0 commit 9b6c969

File tree

17 files changed

+2222
-0
lines changed

17 files changed

+2222
-0
lines changed
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
2+
.anchor
3+
.DS_Store
4+
target
5+
**/*.rs.bk
6+
node_modules
7+
test-ledger
8+
.yarn
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
[toolchain]
2+
3+
[features]
4+
resolution = true
5+
skip-lint = false
6+
7+
[programs.localnet]
8+
transfer_switch = "FjcHckEgXcBhFmSGai3FRpDLiT6hbpV893n8iTxVd81g"
9+
10+
[registry]
11+
url = "https://api.apr.dev"
12+
13+
[provider]
14+
cluster = "Localnet"
15+
wallet = "~/.config/solana/id.json"
16+
17+
[scripts]
18+
test = "pnpm ts-mocha -p ./tsconfig.json -t 1000000 tests/**/*.ts"
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
[workspace]
2+
members = [
3+
"programs/*"
4+
]
5+
resolver = "2"
6+
7+
[profile.release]
8+
overflow-checks = true
9+
lto = "fat"
10+
codegen-units = 1
11+
[profile.release.build-override]
12+
opt-level = 3
13+
incremental = false
14+
codegen-units = 1
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"dependencies": {
3+
"@coral-xyz/anchor": "^0.30.1",
4+
"@solana/spl-token": "^0.4.0"
5+
},
6+
"devDependencies": {
7+
"anchor-bankrun": "^0.5.0",
8+
"solana-bankrun": "^0.4.0",
9+
"@types/bn.js": "^5.1.0",
10+
"@types/chai": "^4.3.0",
11+
"@types/mocha": "10.0.9",
12+
"chai": "^4.3.4",
13+
"mocha": "^10.8.2",
14+
"prettier": "^2.6.2",
15+
"ts-mocha": "^10.0.0",
16+
"typescript": "^5"
17+
}
18+
}

0 commit comments

Comments
 (0)