Skip to content

Latest commit

 

History

History
 
 

bare

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

🐚 Seashell on Bare

An example cli wallet used to demo the wallet lib.

⚠️ THIS IS A TEST WALLET ONLY. DON'T RISK REAL FUNDS ⚠️

Dependencies

Configuration

all the available config items for config.json

{
    "store_path" :  "./data",
    "network" : "regtest",
    "electrum_host" : "ws://127.0.0.1",
    "electrum_port" : 8002,
    "web3" : "ws://127.0.0.1:8545/",
    "web3_indexer" : "http://127.0.0.1:8008/",
    "web3_indexer_ws" : "http://127.0.0.1:8181/",
    "token_contract" : "0x5FbDB2315678afecb367f032d93F642f64180aa3"
}

Setup

# Install parent dep
cd ../../
npm install

# install bare dependencies
cd ./example/bare
npm install

# Create config.json file. This stores your seed phrase
echo "{}" > config.json

# Run!
bare ./cli.js