diff --git a/img/img6.png b/img/img6.png new file mode 100644 index 00000000..a95b1bf0 Binary files /dev/null and b/img/img6.png differ diff --git a/img/img7.png b/img/img7.png new file mode 100644 index 00000000..5313ba4e Binary files /dev/null and b/img/img7.png differ diff --git a/test/Makefile b/test/Makefile index 1a91c919..e5e753f8 100644 --- a/test/Makefile +++ b/test/Makefile @@ -80,7 +80,17 @@ run-archway-e2e: @echo "Running e2e demo cosmos" @cd $(CURDIR)/scripts/cosmos && npx ts-node cosmos_e2e_demo.ts archway +run-neutron-e2e: + @echo "Running e2e demo cosmos" + @cd $(CURDIR)/scripts/cosmos && npx ts-node cosmos_e2e_demo.ts neutron + +run-icon-archway-e2e: + @echo "Running e2e demo cosmos" + @cd $(CURDIR)/scripts/cosmos && npx ts-node icon_cosmos_e2e_demo.ts archway +run-icon-neutron-e2e: + @echo "Running e2e demo cosmos" + @cd $(CURDIR)/scripts/cosmos && npx ts-node icon_cosmos_e2e_demo.ts neutron diff --git a/test/README.md b/test/README.md index 15a1afa3..ee34d489 100644 --- a/test/README.md +++ b/test/README.md @@ -41,10 +41,26 @@ To run the demo, the following software needs to be installed. ![img1](img/../../img/img4.png) -- Step 2: now run the command `make run-cosmos` to execute e2e demo which transfers token from one archway chain to another. +- Step 2: now run the command `make run-archway-e2e` to execute e2e demo which transfers token from one archway chain to another. ![img1](img/../../img/img5.png) +> **Note:** +> To run neutron-netron demo, follow the steps same as above but to run neutron nodes and then run the command `make run-neutron-e2e` + +# End-to-End icon - archway Demo +- Step 1: Run the dive command that spins ups icon and archway chain and creates an ibc bridge for cross communication. + ![img1](img/../../img/img6.png) + +- Step 2: Update the `contracts.json` file present in the folder `test/scripts/cosmos` with contract address that can be found in dive.json after the command is run successfully. + +- Step 3: Now just the run the command `make run-icon-archway-e2e` from test folder to execute e2e demo from Icon to Archway and vice versa. + ![img1](img/../../img/img7.png) + +> **Note:** +> To run icon-netron demo, follow the steps same as above but to run neutron and icon nodes and then run the command `make run-icon-neutron-e2e` + + ## Video - D.I.V.E. package setup for testing the bridge between EVM and ICON using BTP2