Dassie
A multi-currency, zero-config, peer-to-peer, Interledger-enabled payment network
Intro
Development Environment
In order to develop a peer-to-peer application, it is very useful to quickly spin up several nodes which can all talk to each other. Dassie uses HTTPS everywhere including during development, so you will need to generate certificates for your nodes.
Prerequisites
- Node.js 18
- mkcert
- Run
mkcert -install
to create the private CA and register it in your OS and browser. - Add
export NODE_EXTRA_CA_CERTS="$(mkcert -CAROOT)/rootCA.pem"
to your.bashrc
,.zshrc
, or similar.
- Run
- OpenSSL with ed25519 support. On MacOS Sierra and higher this requires further steps.
Setting up the development environment
Install package dependencies.
pnpm i
Starting the development environment
Run the development environment.
pnpm start