You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: devnet/docker/icon-algorand/README.md
+6-6
Original file line number
Diff line number
Diff line change
@@ -15,33 +15,33 @@ and testnets respectively.
15
15
16
16
17
17
### Workflow
18
-
In order to showcase a token transfer, the [algorand-integration](.github/workflows/algorand-integration.yml) workflow was created.
18
+
In order to showcase a token transfer, the [algorand-integration](/.github/workflows/algorand-integration.yml) workflow was created.
19
19
It aims to set up local instances of both chains and send messages in both directions asking for
20
20
token transfers.
21
21
It starts by installing the required dependencies, running a container from the icon
22
22
goloop image and setting up a new algorand local network.
23
23
Once these are running, the smart contracts for both are built, deployed and registered on the
24
24
opposite chains, creating a valid link between them.
25
25
Throughout the execution of the previous steps, a set of environmental variables will be created,
26
-
which will then be copied to the relayer [config file](devnet/docker/icon-algorand/algo-config.json), allowing it to run accordinglly.
26
+
which will then be copied to the relayer [config file](/devnet/docker/icon-algorand/algo-config.json), allowing it to run accordinglly.
27
27
28
28
29
29
### Local execution
30
30
It's also possible to replicate the same steps locally, which can be much more helpful for debugging:
31
31
1. Install Algorand and Pyteal, using the same cmds provided on the workflow file.
32
-
2. Run [prepare_local_env.sh](devnet/docker/icon-algorand/prepare_local_env.sh) to setup local chain nodes and build the smart contracts.
32
+
2. Run [local_setup.sh](devnet/docker/icon-algorand/local_setup.sh) to setup local chain nodes and build the smart contracts.
33
33
3. Run [setup_system.sh](devnet/docker/icon-algorand/setup_system.sh) to deploy the contracts and setup the relayer config file.
34
34
4. Go to ``./cmd/iconbridge`` and run ``go run . -config=../../devnet/docker/icon-algorand/algo-config.json``
35
35
to start the relayer.
36
-
5. To execute any of the integration tests, go to ``./devnet/docker/icon-algorand`` and run the
36
+
5. To execute any of the integration tests, go to ``/devnet/docker/icon-algorand`` and run the
37
37
respective script.
38
38
39
39
40
40
### Testnet execution
41
41
At last, the relayer can also be ran connected to the respective testnets. Note that first you need
42
42
to obtain a valid testnet node access from algorand and set the env vars ``$ALGO_TEST_ADR`` and ``$ALGO_TEST_TOK``, to the given
43
43
testnet address and token values.
44
-
1. Go to ``./devnet/docker/icon-algorand`` and run [testnet_start_relay.sh](./devnet/docker/icon-algorand/testnet_start_relay.sh) - Beware that this script will create wallet accounts that need to be funded.
44
+
1. Go to ``./devnet/docker/icon-algorand`` and run [testnet_start_relay.sh](/devnet/docker/icon-algorand/testnet_start_relay.sh) - Beware that this script will create wallet accounts that need to be funded.
45
45
on the respective testnet faucets. The algorand one can be accessed [here](https://bank.testnet.algorand.network/).
46
-
2. To execute any of the integration tests, go to ``./devnet/docker/icon-algorand`` and run the
46
+
2. To execute any of the integration tests, go to ``/devnet/docker/icon-algorand`` and run the
0 commit comments