https://github.com/jcnelson/sip015-vote
Tabulation software for SIP-015
https://github.com/jcnelson/sip015-vote
Last synced: 3 months ago
JSON representation
Tabulation software for SIP-015
- Host: GitHub
- URL: https://github.com/jcnelson/sip015-vote
- Owner: jcnelson
- License: agpl-3.0
- Created: 2022-12-02T05:07:27.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-12-03T05:01:43.000Z (over 3 years ago)
- Last Synced: 2025-03-05T04:41:39.784Z (over 1 year ago)
- Language: JavaScript
- Size: 35.2 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# sip015-vote
Tabulation software for SIP-015
## Setup
You will need:
* A locally-running bitcoin node, which tracks UTXOs for `1111111111111117CrbcZgemVNFx8` and `11111111111111X6zHB1ZC2FmtnqJ`
* You can do this with the `bitcoin-cli importaddress` subcommand.
* A locally-running Stacks node
* A version of `stacks-inspect` in your `$PATH` built from the `feat/get-reward-set` branch. You can build this as follows:
* `git clone https://github.com/stacks-network/stacks-blockchain && cd ./stacks-blockchain && git checkout feat/get-reward-set && cargo build --release && export PATH="$(realpath /target/release/):$PATH"`
* Copies of the following node.js packages installed globally (in your `$NODE_PATH`):
* `c32check`
* `bitcoinjs-lib`
* `@stacks/common`
* `@stacks/transactions`
* You can get these with `sudo npm install -g c32check bitcoinjs-lib @stacks/common @stacks/transactions`
## How To Run
1. Run `./run.sh /path/to/your/bitcoin.conf /path/to/your/stacks/node/chainstate/root`
2. Grab coffee and do errands for an hour or two
3. Read the results in `./data/votes-final.json`