Skip to content

Commit

Permalink
initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
evan-gray committed Feb 12, 2024
0 parents commit 36b1890
Show file tree
Hide file tree
Showing 45 changed files with 8,291 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@

.anchor
.DS_Store
target
**/*.rs.bk
node_modules
test-ledger
.yarn
8 changes: 8 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@

.anchor
.DS_Store
target
node_modules
dist
build
test-ledger
102 changes: 102 additions & 0 deletions Anchor.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,102 @@
[toolchain]

[features]
seeds = false
skip-lint = false

[programs.localnet]
example_queries_solana_verify = "HkDXBFRS9Tv9295d9wEVRL61c1pUXj3WZHiaTNZ9Q7TQ"

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

[provider]
cluster = "Localnet"
wallet = "tests/keys/pFCBP4bhqdSsrWUVTgqhPsLrfEdChBK17vgFM7TxjxQ.json"

[scripts]
test = "yarn run ts-mocha -p ./tsconfig.json -t 1000000 tests/**/*.ts"

# [test.validator]
# url = "https://api.devnet.solana.com"
# url = "https://api.mainnet-beta.solana.com"

## CORE BRIDGE DEVNET
### Wormhole Core Bridge Program (Devnet)
[[test.genesis]]
address = "Bridge1p5gheXUvJ6jGWGeCsgPKgnE3YgdGKRVCMY9o"
program = "tests/artifacts/devnet_core_bridge.so"

### Wormhole Core Bridge (Devnet) -- Config
[[test.validator.account]]
address = "FKoMTctsC7vJbEqyRiiPskPnuQx2tX1kurmvWByq5uZP"
filename = "tests/accounts/core_bridge_devnet/bridge_config.json"

### Wormhole Core Bridge (Devnet) -- Fee Collector
[[test.validator.account]]
address = "GXBsgBD3LDn3vkRZF6TfY5RqgajVZ4W5bMAdiAaaUARs"
filename = "tests/accounts/core_bridge_devnet/fee_collector.json"

### Wormhole Core Bridge (Devnet) -- Guardian Set 0
[[test.validator.account]]
address = "6MxkvoEwgB9EqQRLNhvYaPGhfcLtBtpBqdQugr3AZUgD"
filename = "tests/accounts/core_bridge_devnet/guardian_set.json"

## CORE BRIDGE TESTNET (Solana devnet)
### Wormhole Core Bridge Program (Testnet)
# [[test.validator.clone]]
# address = "3u8hJUVTA4jH1wYAyUur7FFZVQ8H635K3tSHHF4ssjQ5"
[[test.genesis]]
address = "3u8hJUVTA4jH1wYAyUur7FFZVQ8H635K3tSHHF4ssjQ5"
program = "tests/artifacts/testnet_core_bridge.so"

### Wormhole Core Bridge (Testnet) -- Config
[[test.validator.account]]
address = "6bi4JGDoRwUs9TYBuvoA7dUVyikTJDrJsJU1ew6KVLiu"
filename = "tests/accounts/core_bridge_testnet/config.json"

### Wormhole Core Bridge (Testnet) -- Fee Collector
[[test.validator.account]]
address = "7s3a1ycs16d6SNDumaRtjcoyMaTDZPavzgsmS3uUZYWX"
filename = "tests/accounts/core_bridge_testnet/fee_collector.json"

### Wormhole Core Bridge (Testnet) -- Guardian Set 0
[[test.validator.account]]
address = "dxZtypiKT5D9LYzdPxjvSZER9MgYfeRVU5qpMTMTRs4"
filename = "tests/accounts/core_bridge_testnet/guardian_set_0.json"

## CORE BRIDGE MAINNET
### Wormhole Core Bridge Program (Mainnet)
[[test.genesis]]
address = "worm2ZoG2kUd4vFXhvjh93UUH596ayRfgQ2MgjNMTth"
program = "tests/artifacts/mainnet_core_bridge.so"

### Wormhole Core Bridge (Mainnet) -- Config
[[test.validator.account]]
address = "2yVjuQwpsvdsrywzsJJVs9Ueh4zayyo5DYJbBNc3DDpn"
filename = "tests/accounts/core_bridge_mainnet/config.json"

### Wormhole Core Bridge (Mainnet) -- Fee Collector
[[test.validator.account]]
address = "9bFNrXNb2WTx8fMHXCheaZqkLZ3YCCaiqTftHxeintHy"
filename = "tests/accounts/core_bridge_mainnet/fee_collector.json"

### Wormhole Core Bridge (Mainnet) -- Guardian Set 0
[[test.validator.account]]
address = "DS7qfSAgYsonPpKoAjcGhX9VFjXdGkiHjEDkTidf8H2P"
filename = "tests/accounts/core_bridge_mainnet/guardian_set_0.json"

### Wormhole Core Bridge (Mainnet) -- Guardian Set 1
[[test.validator.account]]
address = "ywSj8KSWAXavP8bCgjCgaLGWt4UBTF4bLBSksTzFJ3B"
filename = "tests/accounts/core_bridge_mainnet/guardian_set_1.json"

### Wormhole Core Bridge (Mainnet) -- Guardian Set 2
[[test.validator.account]]
address = "HwCQDTkvQzjqddy3iZ2FL7bvkeVmC9eHYRkDieRGyMCB"
filename = "tests/accounts/core_bridge_mainnet/guardian_set_2.json"

### Wormhole Core Bridge (Mainnet) -- Guardian Set 3
[[test.validator.account]]
address = "6d3w8mGjJauf6gCAg7WfLezbaPmUHYGuoNutnfYF1RYM"
filename = "tests/accounts/core_bridge_mainnet/guardian_set_3.json"
Loading

0 comments on commit 36b1890

Please sign in to comment.