This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import "AssetLedger.sol"; | |
| // TODO describe rules of exchange. | |
| // In the AF market all users benefit from a "last look" facility to prevent | |
| // them falling foul of mechanical arb sniping by those exploiting the way | |
| // the blockchain and smart contract data lags the real markets being tracked. | |
| // The system proceeds through a series of batching steps, which in practice | |
| // might correspond to some number of blocks (for example, each batching step | |
| // corresponds to a block). Orders collected in batching step B_i are initially | |
| // in a "pending" state although visible within the book. Orders then remain |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 0x5F0bc362b192F9305337320FC06D5C540d65114A |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 0x48B7c27868Be4ecb58fFb8dfe98654C48EDaA9aE |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| .hidden{ display: none; } | |
| /* --- */ | |
| html, body { | |
| height: 100%; | |
| width: 100%; | |
| margin: 0; | |
| padding: 0; | |
| white-space: nowrap; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| `"use strict"` | |
| const keythereum = require('keythereum') | |
| const c = console | |
| // private key from bitcoin | |
| let privateKey = "10f2fb3aaac742b2f6c2a0a830d5330846633c8a139696cca2c0e379944f62b2" | |
| let password = "bla" | |
| // --- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // endpoint: https://runkit.io/makevoid/jasonette-3/branches/master | |
| // ---------------------------------------------------------------- | |
| // var cheerio = require('cheerio'), | |
| // $ = cheerio.load('<h2 class = "title">Hello world</h2>'); | |
| // todo: idea for next app, scrape some html, extract links, display them in native app |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "contract": { | |
| "marriage": ["Kristina Butkute", "Francesco Canessa"] | |
| }, | |
| "timestamp": "2016-10-29 1:30 PM UTC", | |
| "location": "Tower Hamlets public hall, London, UK", | |
| "signatures": ["FC", "KB"], | |
| "contract_scan_sha2": "WILL_PROVIDE", | |
| "contract_scan": { | |
| "http": "WILL_UPLOAD", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /*! minireset.css v0.0.2 | MIT License | github.com/jgthms/minireset.css */ | |
| html, | |
| body, | |
| p, | |
| ol, | |
| ul, | |
| li, | |
| dl, | |
| dt, | |
| dd, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <html xmlns="http://www.w3.org/1999/xhtml"> | |
| <head> | |
| <title>Example</title> | |
| <meta http-equiv="refresh" content="0;URL='http://example.com/'" /> | |
| </head> | |
| <body> | |
| <p> | |
| This page has moved to | |
| <a href="http://example.com/">example.com</a>. | |
| </p> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| "use strict" | |
| const Mnemonic = require('bitcore-mnemonic') | |
| const EthereumBIP44 = require('ethereum-bip44/dist/es5') | |
| const c = console | |
| let mnemonic | |
| let mnemonicString | |
| let store | |
| if (typeof localStorage !== "undefined") { |