-
Notifications
You must be signed in to change notification settings - Fork 122
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(local-ic): typescript driver (#1203)
* chore: host_port_override for all chains * test: basic e2e in typescript with CosmJS * e2e: local-ic ts action * remove old js package * chore: readme links * tweak * feat: full backend driver + test (cosmjs + local-ic) * cleanup!
- Loading branch information
1 parent
7b7fea1
commit c48b82d
Showing
15 changed files
with
1,735 additions
and
3 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 |
---|---|---|
|
@@ -12,4 +12,6 @@ contracts/*.wasm | |
!contracts/cw_ibc_example.wasm | ||
|
||
|
||
__pycache__/ | ||
__pycache__/ | ||
|
||
node_modules/ |
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
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
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
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,16 @@ | ||
# Python | ||
|
||
The python local-interchain interaction client / driver. | ||
|
||
## Running | ||
|
||
```bash | ||
cd python | ||
|
||
# or setup your own virtualenv | ||
pip install -r requirements.txt --break-system-packages | ||
|
||
local-ic start juno_ibc | ||
|
||
python3 api_test.py | ||
``` |
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,22 @@ | ||
# Typescript | ||
|
||
Using CosmJS, you can write e2e test on top of interchaintest / local-interchain | ||
|
||
## How to run | ||
|
||
```bash | ||
# install local-ic if not already | ||
cd local-interchain | ||
make install | ||
|
||
# move into the typescript directory | ||
cd ts | ||
|
||
npm i | ||
|
||
# starts a cosmoshub testnet on :26657 | ||
local-ic start cosmoshub | ||
|
||
# runs a basic test | ||
npm run start | ||
``` |
Oops, something went wrong.