Skip to content

Latest commit

 

History

History
56 lines (31 loc) · 1.94 KB

README.md

File metadata and controls

56 lines (31 loc) · 1.94 KB

End-to-End Testing Demo

This is a demo script from btp2 that demonstrates simple e2e testing scenarios.

Prerequisites

To run the demo, the following software needs to be installed.

Steps to run the script

  • Step 1: Run the DIVE command that spins ups two chains for sending message using BTP

    img1

  • Step 2: After you get the contract address from the output, update xCall and dApp address in deployment.json file

    img1

  • Step 3: Update network and endpoint in the chain_config.json, deployments.json and hardhat.config.ts files

    img1

  • Step 4: now run the command make run-demo to execute all scenarios.

    img1

Note: Running the demo script will copy all the dependencies required from the container. We can clean the dependencies by running make clean-dep command.

End-to-End archway - archway Demo

Steps to run the demo

  • Step 1: Run the dive command that spins ups two archway chain for sending message using IBC. Wait for the setup to be completed

    img1

  • Step 2: now run the command make run-cosmos to execute e2e demo which transfers token from one archway chain to another.

    img1

Video

  • D.I.V.E. package setup for testing the bridge between EVM and ICON using BTP2

    video1

  • Setup EVM and JVM local nodes using the D.I.V.E package

    video1