- setup storage
- setup wallet
- setup setup webcredits
- setup tables
- setup coinbase
- test
Storage is provided via Solid using ldnode or gold, the root is set to localhost
External wallets may be used, alter as necessary
wallet
goes to https://localhost/wallet/basic#this
<#this>
<http://purl.org/dc/terms/description> "Basic Wallet" ;
a <https://w3id.org/cc#Wallet> ;
<https://w3id.org/cc#inbox> <inbox/> ;
<https://w3id.org/cc#tx> <tx/> .
Add folders tx
and inbox
sudo npm install -g webcredits
credit create [-d database]
Normally you will have mysql installed, with a database webcredits
credit genesis [-d database] [-w wallet]
Testing balance
credit balance "https://w3id.org/cc#coinbase" [-w wallet]
Should give 1000000
Testing transaction
credit insert https://w3id.org/cc#coinbase 100000 '' 'https://workbot.databox.me/card/profile#me' [-d database] [-w wallet]
Add more transactions for basic ledger functionality