Skip to content

brotchie/altcoinstatic

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Generate a static web page with coinyecoind account balances

Note: dogecoind variant available in the doge branch (https://github.com/brotchie/altcoinstatic/tree/doge).

Example of using coinyecoind to generate a static webpage of Kanye West's tracks ranked by the amount of COYE donated to each track's pubkey address.

Use ./coinyesbest.py createaccounts to initialize accounts then ./coinyesbest.py generateindex to generate the static ranking page output/index.html.

Serve output/ using to view the site. For example

twistd web --path=output -p 8082
google-chrome http://localhost:8082/

coinyesbest.py can be easily modified to interface with litecoind, bitcoind, or any other crypto-currency based off the vanilla bitcoin sources.

Configure coinyecoind JSON-RPC by adding the rpcuser and rpcpassword config entries to ~/.coinyecoin/coinyecoin.conf.

Depends on bitcoin-python and mako templates:

sudo pip install bitcoin-python mako

About

Example of using coinyecoind (and dogecoind) JSON-RPC to fetch account balances and generate a static web page.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors