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
gnarly-5f7885c68-5686g — TypeError: Cannot read property 'owner' of undefined | |
gnarly-5f7885c68-5686g — at Object.replace (/snapshot/gnarly/node_modules/@xlnt/fast-json-patch/lib/core.js:27:26) | |
gnarly-5f7885c68-5686g — at applyOperation (/snapshot/gnarly/node_modules/@xlnt/fast-json-patch/lib/core.js:231:60) | |
gnarly-5f7885c68-5686g — at Object.applyPatch (/snapshot/gnarly/node_modules/@xlnt/fast-json-patch/lib/core.js:268:22) | |
gnarly-5f7885c68-5686g — at __dirname.resumeFromTxId.txBatch.forEach (/snapshot/gnarly/node_modules/@xlnt/gnarly-core/lib/Ourbit.js:134:43) | |
gnarly-5f7885c68-5686g — at Array.forEach (<anonymous>) | |
gnarly-5f7885c68-5686g — at Ourbit.<anonymous> (/snapshot/gnarly/node_modules/@xlnt/gnarly-core/lib/Ourbit.js:130:29) | |
gnarly-5f7885c68-5686g — at Generator.next (<anonymous>) | |
gnarly-5f7885c68-5686g — at fulfilled (/snapshot/gnarly/node_modules/@xlnt/gnarly-core/lib/Ourbit.js:4:58) | |
gnarly-5f7885c68-5686g — at <anonymous> 'TypeError: Cannot read property \'owner\' of undefined\n at Object.replace (/ |
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
const sigUtil = require('eth-sig-util') | |
app.post('/api/message', (req, res) => { | |
const messageData = req.body.messageData | |
const signature = req.body.signature | |
// recover the public key | |
const publicKey = sigUtil.recoverTypedSignature({ | |
data: messageData, |
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 Web3 from 'web3' | |
// Setup a message with instructions for the server. | |
const messageData = [ | |
{ | |
name: ‘Contents’, | |
type: ‘string’, | |
value: 'extra! extra! read all about it!' | |
} | |
] |
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
const Web3 = require('web3') | |
// *WRONG* | |
// const localProviderUrl = 'wss://localhost:8545' | |
// Result: | |
// | |
// connection not open on send() | |
// Error in subscription wss://localhost:8545 | |
// Error: connection not open |
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 React, { Component } from 'react' | |
import { Link } from 'react-router' | |
// JSON file that describe's the contract's metadata. Created during the contract 'compile' step. | |
import ExampleContract from '../../../build/contracts/example.json' | |
class FormComponent extends Component { | |
constructor(props) { | |
super(props) |
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
[{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"funders","outputs":[{"name":"exists","type":"bool"},{"name":"tokenCount","type":"uint256"},{"name":"totalPurchasePrice","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"tokenBasePrice","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"contractStartTime","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"addr","type":"address"}],"name":"isFunderTokens","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"amount","type":"uint256"}],"name":"spend","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"addr","type":"address"}],"name":"isFunder","outputs":[{"name":"","ty |
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
0x7036B2Fc481951000a616B0447D07a454b6fb5E6 |
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
Verifying that "mattlovan.id" is my Blockstack ID. https://onename.com/mattlovan |
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
{ | |
"videoId" : "999", | |
"title" : "Radical Skateboard Video", | |
"needsUpdate" : false, | |
"inError" : false, | |
"active" : true, | |
"recordModified" : "2017-07-13T14:22:03.193Z", | |
"video" : { | |
"video_name" : "Radical Skateboard Video", | |
"video_id" : 999, |