Instantly share code, notes, and snippets.

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;
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;
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)