generated from ChainSafe/dapp-boilerplate
-
Notifications
You must be signed in to change notification settings - Fork 84
Abstrating Network provider logic #70
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 46 commits
Commits
Show all changes
59 commits
Select commit
Hold shift + click to select a range
2debe33
Added provider selector
RyRy79261 2fd9d60
Reworked app.tsx
RyRy79261 57a21f4
Working on adaptors
RyRy79261 b19ab3b
Working on new interfaces
RyRy79261 d8220b1
EVM wired
RyRy79261 5724715
Merge branch 'main' into feat/chain-adapters-68
RyRy79261 cb8bed2
Compiles now
RyRy79261 a575cbd
Merge branch 'feat/chain-adapters-68' of github.com:ChainSafe/chainbr…
RyRy79261 b758c7e
Tinkering
RyRy79261 630b3b7
Refactored home adapter to context (#73)
RyRy79261 f4289f3
Updating comments
RyRy79261 6e27838
Polkadot...
RyRy79261 23c0b4a
Balance fetched
RyRy79261 7d9d9b1
Selecting token
RyRy79261 7c09fff
Transfer sub to evm works
RyRy79261 de45a50
Added test listener logic
RyRy79261 e3ebcdf
Web3 issues
RyRy79261 361d44e
Revert
RyRy79261 8cb033b
Web3 eish
RyRy79261 6de6685
fix EVM home chain
FSM1 f5f211a
setup for GETH chainId 5
FSM1 7f81f4b
Present state
RyRy79261 6e5adef
Unsubscribe logic
RyRy79261 86402c8
update onbaord to latest version
FSM1 1ed6552
Init mutex
RyRy79261 2c6b8e0
Merge branch 'feat/chain-adapters-68' of github.com:ChainSafe/chainbr…
RyRy79261 27a8373
Mutex test
RyRy79261 c56ae6c
Block status not reported
RyRy79261 d7df802
Fixed cycle in evm
RyRy79261 91386d8
Removed consoles
RyRy79261 4a960e2
step 1
Tbaut 165ed8c
fix typo
FSM1 cdfeda2
add substrate destination event handlers
FSM1 8864b93
cleanup
Tbaut b3d0406
Update src/Modules/TransferActiveModal.tsx
Tbaut a766c12
substrate address formatting
FSM1 9971d7e
Cleared
RyRy79261 c5b83aa
Added disconnect
RyRy79261 8906d4f
Resolved
RyRy79261 27fcb57
Token values matching
RyRy79261 9027175
Reset functionall
RyRy79261 5f16ed1
Removed keyring
RyRy79261 877d9d6
Merge remote-tracking branch 'origin/main' into feat/chain-adapters-68
FSM1 59414ef
Merge branch 'feat/chain-adapters-68' into tbaut/status
FSM1 8229030
auto set destination network
FSM1 a3f8bb7
Spruced
RyRy79261 56799f1
clean up config, add validation, add more readme
FSM1 efad8dd
Adapter modularity refactor (#77)
ansermino 21ad0f9
update readme and config
FSM1 225c887
update readme, clean up Chainbridge API
FSM1 7e6cf09
fix relayer config and substrate deposit decimals
FSM1 b70cda0
use correct BN lib
FSM1 3bf6b1e
make adaptors dynamic
FSM1 9136d65
update readme
FSM1 32291fc
clear all warnings
FSM1 d47430e
fix package json scripts typo
FSM1 951d7f5
make function name generic
FSM1 c9a7423
update readme
FSM1 48e5b87
Apply suggestions from code review
FSM1 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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,17 @@ | ||
| # Copyright 2020 ChainSafe Systems | ||
| # SPDX-License-Identifier: LGPL-3.0-only | ||
|
|
||
| version: "3" | ||
| services: | ||
| geth1: | ||
| image: "chainsafe/chainbridge-geth:20200505131100-5586a65" | ||
| container_name: geth1 | ||
| ports: | ||
| - "8545:8545" | ||
|
|
||
| sub-chain: | ||
| image: "chainsafe/chainbridge-substrate-chain:v1.3.0" | ||
| container_name: sub-chain | ||
| command: chainbridge-substrate-chain --dev --alice --ws-external --rpc-external | ||
| ports: | ||
| - "9944:9944" |
This file contains hidden or 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 hidden or 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 @@ | ||
| { | ||
| "chains": [ | ||
| { | ||
| "name": "eth", | ||
| "type": "ethereum", | ||
| "id": "0", | ||
| "endpoint": "ws://localhost:8545", | ||
| "from": "0xff93B45308FD417dF303D6515aB04D9e89a750Ca", | ||
| "opts": { | ||
| "bridge": "0x62877dDCd49aD22f5eDfc6ac108e9a4b5D2bD88B", | ||
| "erc20Handler": "0x3167776db165D8eA0f51790CA2bbf44Db5105ADF", | ||
| "erc721Handler": "0x3f709398808af36ADBA86ACC617FeB7F5B7B193E", | ||
| "genericHandler": "0x2B6Ab4b880A45a07d83Cf4d664Df4Ab85705Bc07", | ||
| "gasLimit": "1000000", | ||
| "maxGasPrice": "20000000" | ||
| } | ||
| }, | ||
| { | ||
| "name": "sub", | ||
| "type": "substrate", | ||
| "id": "1", | ||
| "endpoint": "ws://localhost:9944", | ||
| "from": "5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY", | ||
| "opts": {} | ||
| } | ||
| ] | ||
| } | ||
This file contains hidden or 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 hidden or 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 hidden or 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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.