Skip to content

Instantly share code, notes, and snippets.

View xsttx's full-sized avatar
🎯
Bitnation Jurisdiction v. 1.4.0 is out!

Susanne Tarkowski Tempelhof xsttx

🎯
Bitnation Jurisdiction v. 1.4.0 is out!
View GitHub Profile
My comment from a FB thread (slightly modified for context and clarity) reposted here, to invite to public debate on the subject:
# BLOCKCHAIN MARRIAGE CONTRACT DESIGN
This is how I think the ideal marriage contract should be structured:
The foundation of the contract code should be a multisignature wallet. This permits you to manage funds and tokenized mutual assets together. Tokenized assets can be anything from vehicles to furniture, or stocks and bonds, whatever. A good multisig can also own and manage other contracts (like a child care contract, a will, a land title, etc). The Gnosis multisig wallet, or rather a modified version of it, could be used for that purpose. Since it's a multisig, you can also add people in (like children, for instance) when needed.
Challenges with that approach:
Lucy Requirements
Functional Requirements
Reputation
Reputation:
Automated (based upon performance criteria)
Human scores (release 1)
Ratings
Collaborative filtering (release 3)
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
int main(void)
{
int groupSize = 5;
int majority = 3;
int population = 10000000;
@xsttx
xsttx / BITNATION_registry_rinkeby.md
Created July 21, 2017 22:39
BITNATION registry ABI and addresses (rinkeby testnet)

DISCLAIMER: the following contracts are deployed on the rinkeby testnet, do not send any "real" ETH to those addresses, bitnation can't be held responsible for you not be being careful enough.

Basic DBVN

ABI

[{"constant":true,"inputs":[{"name":"","type":"uint256"}],"name":"proposals","outputs":[{"name":"submitter","type":"address"},{"name":"recipient","type":"address"},{"name":"amount","type":"uint256"},{"name":"votingDeadline","type":"uint256"},{"name":"executed","type":"bool"},{"name":"executionSuccess","type":"bool"},{"name":"proposalPassed","type":"bool"},{"name":"proposalHash","type":"bytes32"},{"name":"numberOfVotes","type":"uint256"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"proposalNumber","type":"uint256"},{"name":"transactionBytecode","type":"bytes32"}],"name":"executeProposal","outputs":[],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"minimumSharesToPassAVote","type":"uint256"},{"name":"minutesForDe
@xsttx
xsttx / gist:095be48ef1bac4764463
Created February 14, 2016 03:13
DBVN scribbles
*/
import "Crowdfunding.sol";
contract HOLONInterface {
modifier onlyShareholders {}
/// @dev Constructor setting the default service provider and the address for the contract able to create another Service Provider
/// @param _defaultServiceProvider The default service provider