blob: ae2b09eca8546070d9cc9a3d464e114f1d40a4f3 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
# 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>.
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>
## 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.
```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")
```
|