-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* update bridgeSDK version * update bridgeSDK version * fix * add action to update snapshot * fix * update * fix * fix * fix * update bridgeSDK version * update * update snapshot * update * fix * fix --------- Co-authored-by: Bryan Chen <[email protected]>
- Loading branch information
1 parent
a54903d
commit d68edce
Showing
14 changed files
with
1,678 additions
and
396 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
import { Config } from './types' | ||
|
||
export default { | ||
polkadot: { | ||
name: 'darwinia' as const, | ||
endpoint: 'wss://darwinia-rpc.dwellir.com', | ||
}, | ||
kusama: { | ||
name: 'crab' as const, | ||
endpoint: 'wss://crab.api.onfinality.io/public-ws', | ||
}, | ||
config: ({ alice }) => ({ | ||
storages: { | ||
System: { | ||
Account: [[[alice.address], { providers: 1, data: { free: '1000000000000000000000' } }]], | ||
}, | ||
}, | ||
}), | ||
} satisfies Config | ||
|
||
export const darwinia = { | ||
paraId: 2046, | ||
} | ||
|
||
export const crab = { | ||
paraId: 2105, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
import { Config } from './types' | ||
|
||
export type Vars = { | ||
aUSDToken: string | ||
} | ||
|
||
export default { | ||
polkadot: { | ||
name: 'phala' as const, | ||
endpoint: 'wss://phala-rpc.dwellir.com', | ||
aUSDToken: '3', | ||
}, | ||
kusama: { | ||
name: 'khala' as const, | ||
endpoint: 'wss://khala-rpc.dwellir.com', | ||
aUSDToken: '4', | ||
}, | ||
config: ({ alice, aUSDToken }) => ({ | ||
storages: { | ||
System: { | ||
Account: [[[alice.address], { providers: 1, data: { free: '1000000000000000' } }]], | ||
}, | ||
Assets: { | ||
account: [[[aUSDToken, alice.address], { balance: 100 * 1e12 }]], | ||
}, | ||
}, | ||
}), | ||
} satisfies Config<Vars> | ||
|
||
export const phala = { | ||
paraId: 2035, | ||
} | ||
|
||
export const khala = { | ||
paraId: 2004, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
extensions: | ||
client: | ||
endpoints: | ||
- wss://crab.api.onfinality.io/public-ws:443 | ||
event_bus: | ||
substrate_api: | ||
stale_timeout_seconds: 60 | ||
cache: | ||
default_ttl_seconds: 0 | ||
default_size: 2000 | ||
merge_subscription: | ||
keep_alive_seconds: 60 | ||
server: | ||
port: 9944 | ||
listen_address: '0.0.0.0' | ||
max_connections: 2000 | ||
|
||
middlewares: | ||
methods: | ||
- response | ||
- cache | ||
- inject_params | ||
- upstream | ||
subscriptions: | ||
- merge_subscription | ||
- upstream | ||
|
||
rpcs: substrate |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
extensions: | ||
client: | ||
endpoints: | ||
- wss://khala-rpc.dwellir.com:443 | ||
event_bus: | ||
substrate_api: | ||
stale_timeout_seconds: 60 | ||
cache: | ||
default_ttl_seconds: 0 | ||
default_size: 2000 | ||
merge_subscription: | ||
keep_alive_seconds: 60 | ||
server: | ||
port: 9944 | ||
listen_address: '0.0.0.0' | ||
max_connections: 2000 | ||
|
||
middlewares: | ||
methods: | ||
- response | ||
- cache | ||
- inject_params | ||
- upstream | ||
subscriptions: | ||
- merge_subscription | ||
- upstream | ||
|
||
rpcs: substrate |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
extensions: | ||
client: | ||
endpoints: | ||
- wss://phala-rpc.dwellir.com:443 | ||
event_bus: | ||
substrate_api: | ||
stale_timeout_seconds: 60 | ||
cache: | ||
default_ttl_seconds: 0 | ||
default_size: 2000 | ||
merge_subscription: | ||
keep_alive_seconds: 60 | ||
server: | ||
port: 9944 | ||
listen_address: '0.0.0.0' | ||
max_connections: 2000 | ||
|
||
middlewares: | ||
methods: | ||
- response | ||
- cache | ||
- inject_params | ||
- upstream | ||
subscriptions: | ||
- merge_subscription | ||
- upstream | ||
|
||
rpcs: substrate |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.