diff options
| -rw-r--r-- | README.md | 17 | ||||
| -rw-r--r-- | setup.sh | 3 |
2 files changed, 10 insertions, 10 deletions
@@ -1,21 +1,18 @@ # coinos-server -Coinos is a bitcoin wallet app that supports payments over the <a href="https://bitcoin.org">bitcoin</a> and <a href="http://lightning.network/">lightning</a> networks. Try it out at <a href="https://coinos.io/">coinos.io</a>. +Coinos is a web-based bitcoin and nostr client. You can use it as a front end to your personal bitcoin and lightning nodes or host a public instance that allows anyone to register with a username and password. Try ours at https://coinos.io -This repository contains the code for the API server. The frontend code is at <a href="https://github.com/coinos/coinos-ui-v2">https://github.com/coinos/coinos-ui-v2</a> +This repository contains the code for the API server. The frontend code is at <a href="https://github.com/coinos/coinos-ui">https://github.com/coinos/coinos-ui</a> ## Install -The follow commands will set up bitcoin, liquid and lightning nodes in regtest mode, along with a coinos app server, database, and front end UI. You'll need to have <a href="https://docs.docker.com/get-docker/">docker</a> installed as a pre-requisite. +The following commands will set up bitcoin and lightning nodes in regtest mode, along with a coinos api server and database. You'll need to have <a href="https://docs.docker.com/get-docker/">docker</a>. ```bash -git clone https://github.com/coinos/coinos-server -cd coinos-server cp -r sampledata data -docker run -it -v $(pwd):/app --entrypoint pnpm asoltys/coinos-server i -docker-compose up -d -docker exec -it bc bitcoin-cli createwallet coinos -docker exec -it bc bitcoin-cli rescanblockchain -docker exec -it bc bitcoin-cli generatetoaddress 500 $(docker exec -it bitcoin bitcoin-cli getnewaddress "" "p2sh-segwit") +docker compose up -d +docker run -it -v $(pwd):/app --entrypoint pnpm cs i +chmod +x setup.sh +./setup.sh ``` diff --git a/setup.sh b/setup.sh new file mode 100644 index 00000000..d18b5dba --- /dev/null +++ b/setup.sh @@ -0,0 +1,3 @@ +docker exec -it bc bitcoin-cli createwallet coinos +docker exec -it bc bitcoin-cli rescanblockchain +docker exec -it bc bitcoin-cli generatetoaddress 500 $(docker exec -it bitcoin bitcoin-cli getnewaddress "" "p2sh-segwit") |
