All Projects β†’ shesek β†’ proof-of-hodl

shesek / proof-of-hodl

Licence: other
provable bitcoin HODLing

Programming Languages

javascript
184084 projects - #8 most used programming language
HTML
75241 projects
PLpgSQL
1095 projects
CSS
56736 projects
shell
77523 projects

Projects that are alternatives of or similar to proof-of-hodl

Votr
🌟 A polling application built with Flask and React
Stars: ✭ 100 (+376.19%)
Mutual labels:  voting
Gh Polls Bot
Automatically create polls in GitHub issues.
Stars: ✭ 187 (+790.48%)
Mutual labels:  voting
voting-connectors
Connector apps for Aragon Voting
Stars: ✭ 14 (-33.33%)
Mutual labels:  voting
Vue Poll
A Vue.js component for voting
Stars: ✭ 115 (+447.62%)
Mutual labels:  voting
Simple Vote
SimpleVote - An open-source, live updating, voting platform based on range voting.
Stars: ✭ 150 (+614.29%)
Mutual labels:  voting
Raty
🌟 Raty - A Star Rating Plugin
Stars: ✭ 2,292 (+10814.29%)
Mutual labels:  voting
Discourse Voting
Adds the ability for voting on a topic within a specified category in Discourse.
Stars: ✭ 86 (+309.52%)
Mutual labels:  voting
vote.dart
Code to simulate, run, and calculate elections with different election methods
Stars: ✭ 25 (+19.05%)
Mutual labels:  voting
Adapterrequests
This Place is used to track the status of new Adapter-Requests.
Stars: ✭ 151 (+619.05%)
Mutual labels:  voting
rater-js
Star rating widget for the browser. Unlimited number of stars. No dependencies. No Jquery required.
Stars: ✭ 66 (+214.29%)
Mutual labels:  voting
Upvotejs
UpvoteJS generates a voting widget like the one used on Stack Exchange sites
Stars: ✭ 137 (+552.38%)
Mutual labels:  voting
Democracyos
Democracia en Red is focusing on specific implementations of DemocracyOS. We are working now working with governments and activists all over Latin America. If you are interested in our online participation tools you can check them out on our site.
Stars: ✭ 1,753 (+8247.62%)
Mutual labels:  voting
Stacking-Blending-Voting-Ensembles
This repository contains an example of each of the Ensemble Learning methods: Stacking, Blending, and Voting. The examples for Stacking and Blending were made from scratch, the example for Voting was using the scikit-learn utility.
Stars: ✭ 34 (+61.9%)
Mutual labels:  voting
Councilor Voter Guide
ηΈ£εΈ‚ι•· / θ­°ε“‘ ζŠ•η₯¨ζŒ‡ε—
Stars: ✭ 103 (+390.48%)
Mutual labels:  voting
ASV
[CVPR16] Accumulated Stability Voting: A Robust Descriptor from Descriptors of Multiple Scales
Stars: ✭ 26 (+23.81%)
Mutual labels:  voting
Democracy Client
DEMOCRACY App Client
Stars: ✭ 98 (+366.67%)
Mutual labels:  voting
Arc
Arc is an operating system for DAOs.
Stars: ✭ 190 (+804.76%)
Mutual labels:  voting
quadratic-voting
Real-time Quadratic Voting dashboard to encourage mathematically optimal voting in democratic communities.
Stars: ✭ 74 (+252.38%)
Mutual labels:  voting
Mat-O-Wahl
πŸ‡©πŸ‡ͺ Mat-O-Wahl - Ein einfach zu bedienender, freier Open Source Wahl-O-Mat Klon fuer jedermann ### πŸ‡¬πŸ‡§ πŸ‡ΊπŸ‡Έ A simple to handle, free "Voting Advice Application" / "Electoral Compass" alternative
Stars: ✭ 27 (+28.57%)
Mutual labels:  voting
Roadmap
No description or website provided.
Stars: ✭ 51 (+142.86%)
Mutual labels:  voting

proof-of-hodl

proof-of-hodl is a command line tool to time-lock and release bitcoins using OP_CHECKSEQUENCEVERIFY - and - a web voting system where votes are weighted by amount of coins * lock duration.

NOTE: this is early hackathon-grade software, currently running on testnet.

Why lock?

Proving the sacrifice of some limited resource is a common technique in a variety of cryptographic protocols. In the case of locking coins, the option to trade and invest them is being temporarily sacrificed.

However, unlike similar forms of sacrifice such as sacrifice to miners fees or proof of burn, the time-lock sacrifice leaves the coins under one's control and thus implying confident and skin in the future value of bitcoin. This property makes HODL voting especially interesting for questions relevant to the future of bitcoin such as protocol changes.

CHECKSEQUENCEVERIFY

OP_CHECKSEQUENCEVERIFY is a new opcode in the bitcoin scripting language (activated July 2016) that allows to create time-locked outputs that cannot be spent until a pre-determined amount of time passes.

See BIP 112 and BIP 68 for more details.

CLI

The hodl lock command takes a lock-duration (in number of blocks), a refund address and a message (which the lock commits to), creates an address where funds to be locked can be deposited and once a payment was received, present the redeeming transaction so it can be saved and broadcast when the time arrives. It also provides a proof that can be shared and verified using the hodl verify command.

$ npm install -g hodl

$ hodl --help

$ hodl lock --duration [lock duration in blocks] --refund [addr] 'I support SegWit'

$ hodl verify [proof]

HODL.voting

HODL.voting is a web voting system based on proof-of-HODL sacrifices.

The code is at /web, and a live version is available at HODL.voting.

Votes over multiple choice questions are weighted by Bitcoin Days Locked (BDL) - the amount of coins multiplied by the number of days locked. The voter is prompted for an amount, lock duration and a refund address and presented with a QR code of a deposit address. Once a payment is received, a refund transaction is presented to be kept and broadcast later, as well as kept on the server for backup, and the vote is cast. Keys never leave the browser.

License (ISC)

Copyright (c) 2017, Nadav Ivgi

Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies.

THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].