Skip to content

Instantly share code, notes, and snippets.

Dimitri De Jonghe diminator

Block or report user

Report or block diminator

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@diminator
diminator / Agreement.sol
Created Jan 21, 2019
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.5.2+commit.1df8f40c.js&optimize=false&gist=
View Agreement.sol
pragma solidity >=0.4.22 <0.6.0;
import 'browser/Condition.sol';
contract AgreementStore {
// TemplateStore _templateStore;
ConditionStore _conditionStore;
struct Agreement {
@diminator
diminator / Agreement.sol
Created Jan 11, 2019
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.5.2+commit.1df8f40c.js&optimize=false&gist=
View Agreement.sol
pragma solidity >=0.4.22 <0.6.0;
import 'browser/Condition.sol';
contract AgreementStore {
struct Agreement {
bool exists;
bytes32 templateId;
bool state;
bytes32 did;
@diminator
diminator / Agreement.sol
Created Jan 10, 2019
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.4.24+commit.e67f0147.js&optimize=false&gist=
View Agreement.sol
pragma solidity >=0.4.22 <0.6.0;
import 'browser/Condition.sol';
contract AgreementStore {
struct Agreement {
bool exists;
bytes32 templateId;
bool state;
bytes32 did;
@diminator
diminator / index.js
Last active Oct 23, 2017
requirebin sketch
View index.js
var driver = require('bigchaindb-driver')
var div = document.createElement('div')
var DOMTransaction = document.createElement('a')
DOMTransaction.innerText = 'pending'
div.appendChild(DOMTransaction)
document.body.appendChild(div)
const alice = new driver.Ed25519Keypair()
console.log(alice)
You can’t perform that action at this time.