mirror of
https://github.com/aljazceru/nutshell.git
synced 2025-12-21 11:04:19 +01:00
readme
This commit is contained in:
18
README.md
18
README.md
@@ -1,5 +1,9 @@
|
|||||||
# cashu
|
# cashu
|
||||||
|
|
||||||
|
**The author is NOT a cryptographer and has not tested the libraries used or the code nor has anyone reviewed the work. This means it's very likely a fatal flaw somewhere. This is meant only as educational and is not production ready.**
|
||||||
|
|
||||||
|
Ecash implementation based on David Wagner's variant of Chaumian blinding. Token logic based on [minicash](https://github.com/phyro/minicash) ([description](https://gist.github.com/phyro/935badc682057f418842c72961cf096c)) which implements a [Blind Diffie-Hellman Key Exchange](https://gist.github.com/RubenSomsen/be7a4760dd4596d06963d67baf140406) protocol written down by Ruben Somsen.
|
||||||
|
|
||||||
## Install
|
## Install
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
@@ -9,17 +13,17 @@ sudo apt install -y build-essential pkg-config libffi-dev libpq-dev zlib1g-dev l
|
|||||||
|
|
||||||
# install python using pyenv
|
# install python using pyenv
|
||||||
curl https://pyenv.run | bash
|
curl https://pyenv.run | bash
|
||||||
echo export PYENV_ROOT="$HOME/.pyenv" >> .bashrc
|
echo export PYENV_ROOT="$HOME/.pyenv" >> ~/.bashrc
|
||||||
echo command -v pyenv >/dev/null || export PATH="$PYENV_ROOT/bin:$PATH" >> .bashrc
|
echo command -v pyenv >/dev/null || export PATH="$PYENV_ROOT/bin:$PATH" >> ~/.bashrc
|
||||||
echo eval "$(pyenv init -)" >> .bashrc
|
echo eval "$(pyenv init -)" >> ~/.bashrc
|
||||||
echo eval "$(pyenv virtualenv-init -)" >> .bashrc
|
echo eval "$(pyenv virtualenv-init -)" >> ~/.bashrc
|
||||||
source .bashrc
|
source ~/.bashrc
|
||||||
pyenv install 3.9.13
|
pyenv install 3.9.13
|
||||||
|
|
||||||
# install poetry
|
# install poetry
|
||||||
curl -sSL https://install.python-poetry.org | python3 -
|
curl -sSL https://install.python-poetry.org | python3 -
|
||||||
echo export PATH="$HOME/.local/bin:$PATH" >> .bashrc
|
echo export PATH="$HOME/.local/bin:$PATH" >> ~/.bashrc
|
||||||
source .bashrc
|
source ~/.bashrc
|
||||||
|
|
||||||
# install cashu
|
# install cashu
|
||||||
cd cashu
|
cd cashu
|
||||||
|
|||||||
Reference in New Issue
Block a user