mirror of
https://github.com/aljazceru/nutshell.git
synced 2026-01-14 14:14:20 +01:00
25 lines
409 B
Markdown
25 lines
409 B
Markdown
# cashu
|
|
|
|
## Install
|
|
|
|
```bash
|
|
https://github.com/callebtc/cashu.git
|
|
sudo apt install pkg-config libffi-dev libpq-dev
|
|
# on mac: brew install postgres
|
|
curl https://pyenv.run | bash
|
|
pyenv install 3.9.13
|
|
cd cashu
|
|
mkdir data/wallet data/mint
|
|
poetry install
|
|
```
|
|
|
|
## Run mint
|
|
```bash
|
|
cd mint/
|
|
poetry run flask run --host 0.0.0.0 --port 3338
|
|
```
|
|
## Run wallet
|
|
|
|
```bash
|
|
poetry run ./cashu --wallet=wallet --mint=420
|
|
``` |