bitcoind --txindex=1 --server=1 --testnet --reindex
testnet uses port 18332
python3 manage.py migrate --run-syncdb
may have to run this firstpython3 manage.py runserver
celery worker -A celery_tasks --loglevel=INFO
or DEBUG
- Create a user and sign into:
http://127.0.0.1:8000/admin/
- Create a Currency (such as BBUX)
- Set api_url field in the format of
http://username:password@localhost:18332
(from bitcoin.conf) - Create a Wallet and run the
refil_addresses_queue
task to assign it an address - Add testnet coins to your wallet address for free with:
https://testnet.manu.backend.hamburg/faucet
celery call cc.tasks.refill_addresses_queue
celery call cc.tasks.query_transaction --args='[ticker,txid]'
celery call cc.tasks.query_transaction -a=[BTC,c810d50a0dc84bf7f62b398896578ddc881ad2a71fa00d2dc59e485ff159d1f1]
curl -d "param1=value1¶m2=value2" -X POST http://localhost:8080/getbalance
- Ubuntu (16.04)
- Python (3.5.2)
- Pip (8.1.1)
- Django (2.0.0)
- Celery (4.1.0)