Skip to content

Commit

Permalink
updated
Browse files Browse the repository at this point in the history
  • Loading branch information
gzukel committed Apr 29, 2024
1 parent 215b2e9 commit 76012d4
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 20 deletions.
16 changes: 12 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -287,14 +287,23 @@ release:

#BTC
start-bitcoin-node-mainnet:
cd contrib/mainnet/bitcoind && DOCKER_TAG=$(DOCKER_TAG) docker-compose up
cd contrib/rpc/bitcoind-mainnet && DOCKER_TAG=$(DOCKER_TAG) docker-compose up

stop-bitcoin-node-mainnet:
cd contrib/mainnet/bitcoind && DOCKER_TAG=$(DOCKER_TAG) docker-compose down
cd contrib/rpc/bitcoind-mainnet && DOCKER_TAG=$(DOCKER_TAG) docker-compose down

clean-bitcoin-node-mainnet:
cd contrib/mainnet/bitcoind && DOCKER_TAG=$(DOCKER_TAG) docker-compose down -v
cd contrib/rpc/bitcoind-mainnet && DOCKER_TAG=$(DOCKER_TAG) docker-compose down -v

#ETHEREUM
start-eth-node-mainnet:
cd contrib/rpc/ethereum && DOCKER_TAG=$(DOCKER_TAG) docker-compose up

stop-eth-node-mainnet:
cd contrib/rpc/ethereum && DOCKER_TAG=$(DOCKER_TAG) docker-compose down

clean-eth-node-mainnet:
cd contrib/rpc/ethereum && DOCKER_TAG=$(DOCKER_TAG) docker-compose down -v

#ZETA

Expand All @@ -318,7 +327,6 @@ stop-zetacored-rpc-testnet:
clean-zetacored-rpc-testnet:
cd contrib/rpc/zetacored && bash kill_docker_compose.sh athens3 true


#FULL-NODE-RPC-FROM-LOCAL-BUILD
start-zetacored-rpc-mainnet-localbuild:
cd contrib/rpc/zetacored && bash init_docker_compose.sh mainnet localbuild $(DOCKER_TAG)
Expand Down
36 changes: 20 additions & 16 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,22 +116,26 @@ Here's a comprehensive documentation using markdown tables to cover all the `mak

#### Commands Overview for Zetacored

Here's the updated table incorporating the new make commands you provided for managing both the Zetacored and Bitcoin nodes.

| Environment | Action | Command | Docker Compose Location |
|--------------------------------------|--------------------------------|-------------------------------------------------------------|-----------------------------------------|
| **Mainnet** | Start Zetacored Node | `make start-mainnet-zetarpc-node DOCKER_TAG=ubuntu-v14.0.1` | `contrib/mainnet/zetacored` |
| **Mainnet** | Stop Zetacored Node | `make stop-mainnet-zetarpc-node` | `contrib/mainnet/zetacored` |
| **Mainnet** | Clean Zetacored Node Data | `make clean-mainnet-zetarpc-node` | `contrib/mainnet/zetacored` |
| **Testnet (Athens3)** | Start Zetacored Node | `make start-testnet-zetarpc-node DOCKER_TAG=ubuntu-v14.0.1` | `contrib/athens3/zetacored` |
| **Testnet (Athens3)** | Stop Zetacored Node | `make stop-testnet-zetarpc-node` | `contrib/athens3/zetacored` |
| **Testnet (Athens3)** | Clean Zetacored Node Data | `make clean-testnet-zetarpc-node` | `contrib/athens3/zetacored` |
| **Mainnet Local Build** | Start Zetacored Node | `make start-zetacored-rpc-mainnet-localbuild` | `contrib/mainnet/zetacored-localbuild` |
| **Mainnet Local Build** | Stop Zetacored Node | `make stop-zetacored-rpc-mainnet-localbuild` | `contrib/mainnet/zetacored-localbuild` |
| **Mainnet Local Build** | Clean Zetacored Node Data | `make clean-zetacored-rpc-mainnet-localbuild` | `contrib/mainnet/zetacored-localbuild` |
| **Testnet Local Build (Athens3)** | Start Zetacored Node | `make start-zetacored-rpc-testnet-localbuild` | `contrib/athens3/zetacored-localbuild` |
| **Testnet Local Build (Athens3)** | Stop Zetacored Node | `make stop-zetacored-rpc-testnet-localbuild` | `contrib/athens3/zetacored-localbuild` |
| **Testnet Local Build (Athens3)** | Clean Zetacored Node Data | `make clean-zetacored-rpc-testnet-localbuild` | `contrib/athens3/zetacored-localbuild` |
| Environment | Action | Command | Docker Compose Location |
|-------------------------------------|-----------------------------|---------------------------------------------------------------|------------------------------------------|
| **Mainnet** | Start Bitcoin Node | `make start-bitcoin-node-mainnet` | `contrib/rpc/bitcoind-mainnet` |
| **Mainnet** | Stop Bitcoin Node | `make stop-bitcoin-node-mainnet` | `contrib/rpc/bitcoind-mainnet` |
| **Mainnet** | Clean Bitcoin Node Data | `make clean-bitcoin-node-mainnet` | `contrib/rpc/bitcoind-mainnet` |
| **Mainnet** | Start Ethereum Node | `make start-eth-node-mainnet` | `contrib/rpc/ethereum` |
| **Mainnet** | Stop Ethereum Node | `make stop-eth-node-mainnet` | `contrib/rpc/ethereum` |
| **Mainnet** | Clean Ethereum Node Data | `make clean-eth-node-mainnet` | `contrib/rpc/ethereum` |
| **Mainnet** | Start Zetacored Node | `make start-mainnet-zetarpc-node DOCKER_TAG=ubuntu-v14.0.1` | `contrib/rpc/zetacored` |
| **Mainnet** | Stop Zetacored Node | `make stop-mainnet-zetarpc-node` | `contrib/rpc/zetacored` |
| **Mainnet** | Clean Zetacored Node Data | `make clean-mainnet-zetarpc-node` | `contrib/rpc/zetacored` |
| **Testnet (Athens3)** | Start Zetacored Node | `make start-testnet-zetarpc-node DOCKER_TAG=ubuntu-v14.0.1` | `contrib/rpc/zetacored` |
| **Testnet (Athens3)** | Stop Zetacored Node | `make stop-testnet-zetarpc-node` | `contrib/rpc/zetacored` |
| **Testnet (Athens3)** | Clean Zetacored Node Data | `make clean-testnet-zetarpc-node` | `contrib/rpc/zetacored` |
| **Mainnet Local Build** | Start Zetacored Node | `make start-zetacored-rpc-mainnet-localbuild` | `contrib/rpc/zetacored` |
| **Mainnet Local Build** | Stop Zetacored Node | `make stop-zetacored-rpc-mainnet-localbuild` | `contrib/rpc/zetacored` |
| **Mainnet Local Build** | Clean Zetacored Node Data | `make clean-zetacored-rpc-mainnet-localbuild` | `contrib/rpc/zetacored` |
| **Testnet Local Build (Athens3)** | Start Zetacored Node | `make start-zetacored-rpc-testnet-localbuild` | `contrib/rpc/zetacored` |
| **Testnet Local Build (Athens3)** | Stop Zetacored Node | `make stop-zetacored-rpc-testnet-localbuild` | `contrib/rpc/zetacored` |
| **Testnet Local Build (Athens3)** | Clean Zetacored Node Data | `make clean-zetacored-rpc-testnet-localbuild` | `contrib/rpc/zetacored` |


### Bitcoin Node Setup for Mainnet
Expand Down

0 comments on commit 76012d4

Please sign in to comment.