Skip to content

Commit

Permalink
Add document for build wormhole node
Browse files Browse the repository at this point in the history
  • Loading branch information
ludete committed May 8, 2019
1 parent 76d447b commit 226363f
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,9 @@ What is the Omni Layer
----------------------
The Omni Layer is a communications protocol that uses the Bitcoin block chain to enable features such as smart contracts, user currencies and decentralized peer-to-peer exchanges. A common analogy that is used to describe the relation of the Omni Layer to Bitcoin is that of HTTP to TCP/IP: HTTP, like the Omni Layer, is the application layer to the more fundamental transport and internet layer of TCP/IP, like Bitcoin.

Building
-----------
[Build in Docker](https://github.com/copernet/wormhole/blob/dev/doc/build-in-docker.md)

http://www.omnilayer.org

25 changes: 25 additions & 0 deletions doc/build-in-docker.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Build the wormhole image; Run the wormhole node

## Build the wormhole image

* `cd wormhole`
* `docker build -t "copernet/wormhole:v0.2.4" .`

## Run the container

* `docker run -itd -v /home/ubuntu/.bitcoin:/root/.bitcoin --name wormhole copernet/wormhole:v0.2.4`

## Run the wormhole node

`docker exec -it wormhole /bin/bash`

* Run the mainnet node : `./exec_mainnet.sh`
* Run the testnet node : `./exec_testnet.sh`


## Query wormhole node status

`docker exec -it wormhole /bin/bash`

* `wormholed-cli help` :
* [Wormhole specific rpc interface](https://github.com/copernet/spec/blob/master/wormhole-rpc-en.md)

0 comments on commit 226363f

Please sign in to comment.