A PoA toy cryptocurrency, that uses UTXO transaction format.
- node.js v>=8.8.0, npm
- MySql
- openssl for key creation
git clone https://www.github.com/mie00/miecoin
cd miecoin
npm install
- create your ecdsa keys, you can use ./scripts/genkeys.sh for key generation.
- Set your keys either by using
WALLET_PRIVATE_KEY
,WALLET_PUBLIC_KEY
environment variables. or by changing thewallet
attribute in ./config/default.json - configure the database in the config file or by setting the corresponding environment variables.
CREATE DATABASE miecoin
- run ./scripts/migration.sql to create the required tables.
node src/index.js
MIT