Skip to content

Commit

Permalink
update deployment md
Browse files Browse the repository at this point in the history
  • Loading branch information
willemolding committed Apr 15, 2024
1 parent b896f81 commit a0af6b1
Showing 1 changed file with 9 additions and 11 deletions.
20 changes: 9 additions & 11 deletions DEPLOYMENT.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,10 @@ First step is to build the dApp image

```shell
sunodo build
sunodo hash
```

Copy the last hash printed out. This is the templateHash

```shell
...
Manual yield rx-accepted (0x100000000 data)
Cycles: 566705956
566705956: 04003a8df136902507ea6103e4cd06e6e812b2ed25f630400ff3f19d0055aaec <---- templateHash
Storing machine: please wait
Successfully copied 386MB to /Users/willem/repos/CarteZcash/.sunodo/image
```
Copy the templateHash that is printed out.

next visit

Expand All @@ -44,6 +36,12 @@ Make the deployment transaction and copy the resulting variables show into the [
- push to the repo and merge to main
- Cut a new release using https://github.com/willemolding/CarteZcash/releases/new

Once a new release has been tagged this will deploy the remaining components configured to work with the on-chain dApp.
This will automatically build the docker images required for the Cartesi node and the full node, as well as deploy the latest bridge UI.

After this has completed manually trigger the fly.io service to redeploy from the fresh docker images by visiting https://github.com/willemolding/CarteZcash/actions/workflows/fly.yml and running the workflow.
(This may be automated in the future)

Wait a few minutes and it should be ready to go!

Wallets can sync using https://cartezcash-fullnode.fly.dev:443 as their lightwalletd GRPC provider
Deposit funds on the bridge at https://willemolding.github.io/CarteZcash/

0 comments on commit a0af6b1

Please sign in to comment.