What's Changed
- Upgrade from v47 to v50
- Updated CosmJS libs to work with CosmosBFT v0.38 & Cosmos-SDK v0.50
- Add version checker to survive API break changes
- Fix governance API breaking (title, description)
- Create Docker file
- Create Docker-Compose file with different profiles attending different chain-id
- Default port is now 3000
- New doc created to reflect the docker-compose profiles
Main PRs
- Fixes for SDK v0.50 & CometBFT v0.38 by @RaulBernal in #178
- Devnet 1 v50 by @RaulBernal in #179
- Update favicon by @El-Jay-Crypto in #180
- Upgrade v50 by @RaulBernal in #182
Instructions with Docker-composer
Docker-composer allows you to run the three different configurations for each chain (bitcanna-1, devnet-1 & devnet-6) using the same Docker Image. Alternatively you can run a simple Docker Image to raise a MainNET Wallet.
Bitcanna-1 MainNET
Docker-compose
docker-compose --profile bitcanna-1 up -d
Run Docker Hub image
Alternatively you can run a simple Docker Image to raise a MainNET Wallet.
docker run -d -p 4200:3000 --name wallet-mainnet bernalraul/webwallet:mainnet
Logs check:
docker container logs wallet-mainnet
Stop and remove data
docker-compose --profile bitcanna-1 down
Create the systemd file:
As the container has always the same name, we can start & stop & restart it
cat <<'EOF' >>wallet-mainnet.service
[Unit]
Description=wallet-mainnet container
Requires=docker.service
After=docker.service
[Service]
Restart=always
ExecStart=/usr/bin/docker start -a wallet-mainnet
ExecStop=/usr/bin/docker stop -t 2 wallet-mainnet
[Install]
WantedBy=default.target
EOF
BitCanna Devnet-1 (same for Devnet-6 replacing by that name)
It is the same Image but the App is rebuilt with DEVNET-1 config. Only with Docker-composer
Docker-compose
docker-compose --profile devnet-1 up -d
Logs check:
docker container logs wallet-devnet
Stop and remove data
docker-compose --profile devnet-1 down
Create the systemd file:
As the container has always the same name, we can start & stop & restart it
cat <<'EOF' >>wallet-devnet-1.service
[Unit]
Description=wallet-devnet-1 container
Requires=docker.service
After=docker.service
[Service]
Restart=always
ExecStart=/usr/bin/docker start -a wallet-devnet-1
ExecStop=/usr/bin/docker stop -t 2 wallet-devnet-1
[Install]
WantedBy=default.target
EOF
Full Changelog: v3.0.2...v3.1.0