Skip to content

Commit

Permalink
Merge pull request #389 from icon-project/feat/solana-xcall-multi
Browse files Browse the repository at this point in the history
feat: solana xcall multi contracts
  • Loading branch information
gcranju authored Oct 4, 2024
2 parents 1e9772a + d027db7 commit bb7ae72
Show file tree
Hide file tree
Showing 118 changed files with 13,647 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,10 @@ yarn-error.log*
lerna-debug.log*
.pnpm-debug.log*

### Soroban ###
.soroban
test_snapshots
### Solana ###
# Logs
.anchor
test-ledger

# Diagnostic reports (https://nodejs.org/api/report.html)
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
Expand Down
27 changes: 27 additions & 0 deletions contracts/solana/Anchor.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
[toolchain]

[features]
resolution = false
skip-lint = false

[programs.localnet]
centralized-connection = "8oxnXrSmqWJqkb2spZk2uz1cegzPsLy6nJp9XwFhkMD5"
mock-dapp-multi = "hSruQVdc5a9dUAqHfRaLcn2S9cbgdpoomG5eWhhDS5W"
xcall = "6PDxNoATKJpTdkEEiiKQucnhUJYvhZg3BNVckyV8sS1q"

[registry]
url = "https://api.apr.dev"

[provider]
cluster = "Localnet"
wallet = "~/.config/solana/id.json"

[scripts]
add-connection-mock-dapp = "yarn ts-node --project ./tsconfig.json ./scripts/mock-dapp-multi/add-connection.ts"
initialize-centralized = "yarn ts-node --project ./tsconfig.json ./scripts/centralized-connection/initialize.ts"
initialize-mock-dapp-multi = "yarn ts-node --project ./tsconfig.json ./scripts/mock-dapp-multi/initialize.ts"
initialize-xcall = "yarn ts-node --project ./tsconfig.json ./scripts/xcall/initialize.ts"
set-admin-xcall = "yarn ts-node --project ./tsconfig.json ./scripts/xcall/set-admin.ts"
set-protocol-fee-handler-xcall = "yarn ts-node --project ./tsconfig.json ./scripts/xcall/set-protocol-fee-handler.ts"
set-protocol-fee-xcall = "yarn ts-node --project ./tsconfig.json ./scripts/xcall/set-protocol-fee.ts"
test = "yarn run ts-mocha -p ./tsconfig.json -t 1000000 tests/**/*.ts"
Loading

0 comments on commit bb7ae72

Please sign in to comment.