From e341eabc7d86e66031f46061e84a17644ddb0c17 Mon Sep 17 00:00:00 2001 From: 0xTaylor <0xTaylor@chaosdao.org> Date: Mon, 17 Jul 2023 01:12:39 -0700 Subject: [PATCH 1/4] Adding configuration for Interlay with all assets --- README.md | 1 + configs/interlay.yml | 45 ++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 46 insertions(+) create mode 100644 configs/interlay.yml diff --git a/README.md b/README.md index bfd315f3..1aff7b10 100644 --- a/README.md +++ b/README.md @@ -30,6 +30,7 @@ npx @acala-network/chopsticks@latest -c acala - [basilisk](configs/basilisk.yml) - [composable-polkadot](configs/composable-polkadot.yml) - [hydradx](configs/hydradx.yml) +- [interlay](configs/interlay.yml) - [karura](configs/karura.yml) - [kusama](configs/kusama.yml) - [mandala-genesis](configs/mandala-genesis.yml) diff --git a/configs/interlay.yml b/configs/interlay.yml new file mode 100644 index 00000000..5dae7c30 --- /dev/null +++ b/configs/interlay.yml @@ -0,0 +1,45 @@ +endpoint: wss://rpc-interlay.luckyfriday.io/ +mock-signature-host: true +block: ${env.INTERLAY_BLOCK_NUMBER} +db: ./interlay.db.sqlite +# wasm-override: interlay_runtime.compact.compressed.wasm + +import-storage: + Tokens: + Accounts: + - + - + - 5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY + - token: INTR + - free: '100000000000000000000000000000' + - + - + - 5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY + - token: IBTC + - free: '100000000000000000000000000000' + - + - + - 5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY + - token: IBTC + - free: '100000000000000000000000000000' + - + - + - 5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY + - token: DOT + - free: '100000000000000000000000000000' + - + - + - 5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY + - token: KINT + - free: '100000000000000000000000000000' + - + - + - 5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY + - token: KBTC + - free: '100000000000000000000000000000' + - + - + - 5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY + - token: KSM + - free: '100000000000000000000000000000' + From 8789aa0d54720e88fca563d4239a91d249baa63e Mon Sep 17 00:00:00 2001 From: 0xTaylor <0xTaylor@chaosdao.org> Date: Mon, 17 Jul 2023 01:13:34 -0700 Subject: [PATCH 2/4] Updated hydradx config to support all assets --- configs/hydradx.yml | 95 ++++++++++++++++++++++++++++++++++++++++----- 1 file changed, 86 insertions(+), 9 deletions(-) diff --git a/configs/hydradx.yml b/configs/hydradx.yml index 549dbf3e..6b169b44 100644 --- a/configs/hydradx.yml +++ b/configs/hydradx.yml @@ -1,22 +1,99 @@ endpoint: wss://hydradx-rpc.dwellir.com mock-signature-host: true block: ${env.HYDRADX_BLOCK_NUMBER} -db: ./db.sqlite +db: ./hydradx.db.sqlite # wasm-override: hydradx_runtime.compact.compressed.wasm import-storage: - System: - Account: + Tokens: + Accounts: - - - 5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY - - providers: 1 - data: - free: 1000000000000000 - Tokens: - Accounts: + - 0 # HDX + - free: '10000000000000000000000' + - + - + - 5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY + - 1 # Lerna + - free: '100000000000000000000' + - + - + - 5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY + - 2 # DAI Stablecoin (via Wormhole) + - free: '100000000000000000000' + - + - + - 5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY + - 3 # Wrapped Bitcoin (via Wormhole) + - free: '100000000000000000000' + - + - + - 5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY + - 4 # Ethereum (via Wormhole) + - free: '100000000000000000000' + - + - + - 5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY + - 5 # Polkadot + - free: '100000000000000000000' + - + - + - 5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY + - 6 # ApeCoin (via Wormhole) + - free: '100000000000000000000' + - + - + - 5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY + - 7 # USD Coin (via Wormhole) + - free: '100000000000000000000' + - + - + - 5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY + - 8 # Phala + - free: '100000000000000000000' + - + - + - 5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY + - 9 # Astar + - free: '100000000000000000000' + - + - + - 5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY + - 10 # Statemint USDT + - free: '100000000000000000000' + - + - + - 5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY + - 11 # interBTC + - free: '100000000000000000000' + - + - + - 5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY + - 12 # Zeitgeist + - free: '100000000000000000000' + - + - + - 5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY + - 13 # Centrifuge + - free: '100000000000000000000' + - + - + - 5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY + - 14 # Bifrost Native Coin + - free: '100000000000000000000' + - + - + - 5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY + - 15 # Bifrost Voucher DOT + - free: '100000000000000000000' + - + - + - 5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY + - 16 # GLMR + - free: '100000000000000000000' - - - 5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY - - 2 + - 17 # Interlay - free: '100000000000000000000' From 1b0c1fc6522f3750fc12740b5a3a54875074f1dd Mon Sep 17 00:00:00 2001 From: 0xTaylor <0xTaylor@chaosdao.org> Date: Mon, 17 Jul 2023 01:25:50 -0700 Subject: [PATCH 3/4] Adding support for Invarch tinkernet --- README.md | 1 + configs/tinkernet.yml | 22 ++++++++++++++++++++++ 2 files changed, 23 insertions(+) create mode 100644 configs/tinkernet.yml diff --git a/README.md b/README.md index 1aff7b10..2d31a675 100644 --- a/README.md +++ b/README.md @@ -47,6 +47,7 @@ npx @acala-network/chopsticks@latest -c acala - [shiden](configs/shiden.yml) - [statemine](configs/statemine.yml) - [statemint](configs/statemint.yml) +- [tinkernet](configs/tinkernet.yml) ## Install diff --git a/configs/tinkernet.yml b/configs/tinkernet.yml new file mode 100644 index 00000000..42c22638 --- /dev/null +++ b/configs/tinkernet.yml @@ -0,0 +1,22 @@ +endpoint: wss://invarch-tinkernet.api.onfinality.io:443/public-ws +mock-signature-host: true +block: ${env.TINKERNET_BLOCK_NUMBER} +db: ./tinkernet.db.sqlite +# wasm-override: tinkernet_runtime.compact.compressed.wasm + +import-storage: + System: + Account: + - + - + - 5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY + - providers: 1 + data: + free: 1000000000000000 + CoreAssets: + Accounts: + - + - + - 5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY + - 1 + - free: '100000000000000000000' From fd5473316ee9398bf2729adc9855a82dbf9cfa51 Mon Sep 17 00:00:00 2001 From: 0xTaylor <0xTaylor@chaosdao.org> Date: Mon, 17 Jul 2023 01:31:58 -0700 Subject: [PATCH 4/4] Add back system account balance --- configs/hydradx.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/configs/hydradx.yml b/configs/hydradx.yml index 6b169b44..06ec0bc2 100644 --- a/configs/hydradx.yml +++ b/configs/hydradx.yml @@ -5,6 +5,14 @@ db: ./hydradx.db.sqlite # wasm-override: hydradx_runtime.compact.compressed.wasm import-storage: + System: + Account: + - + - + - 5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY + - providers: 1 + data: + free: 1000000000000000 Tokens: Accounts: -