Skip to content

Instantly share code, notes, and snippets.

Makoto Inoue makoto

Block or report user

Report or block makoto

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
View index.js
const Web3 = require('web3')
const Web3Legacy = require('web3legacy')
console.log('web3 version', (new Web3()).version)
console.log('web3 legacy version', (new Web3Legacy()).version)
// Do "export INFURA_PROJECT_ID=YOURPROJECTID" on your terminal
const projectid = process.env.INFURA_PROJECT_ID
const endpoint = '' + projectid
const provider = new Web3.providers.HttpProvider(endpoint)
const legacyProvider = new Web3Legacy.providers.HttpProvider(endpoint)
const web3 = new Web3(provider)
makoto / index.js
Last active Mar 27, 2019
View index.js
const namehash = require('eth-ens-namehash').hash
document.querySelector('input').value = 'matoken.eth'
window.namehash = namehash
var sayHello = function(){
var name = document.querySelector('input').value
View universalloginerror.log
makoto@Makotos-MacBook-Air: [~/src/tmp/univesal - (master)] $ more package.json
"name": "univesal",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"start:dev": "universal-login start:dev"
View universalloginerror.log
makoto@Makotos-MacBook-Air: [~/src/tmp/univesal - (master)] $ more package.json
"name": "univesal",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"start:dev": "universal-login start:dev"
View myth.log
makoto@Makotos-MacBook-Air: [~/work/blockparty - (coverage)] $ myth -x contracts/Conference.sol
==== Integer Overflow ====
Type: Warning
Contract: Unknown
Function name: _function_0x05f203d9
PC address: 543
A possible integer overflow exists in the function `_function_0x05f203d9`.
View rtifacts_require.txt
makoto@Makotos-MacBook-Air: [~/work/ens/dnsprove-js - (dnsprove)] $ ls node_modules/@ensdomains/dnssec-oracle/contracts/RSASHA1Algorithm.sol
makoto@Makotos-MacBook-Air: [~/work/ens/dnsprove-js - (dnsprove)] $ ls node_modules/dnssec-oracle/contracts/RSASHA1Algorithm.sol
makoto@Makotos-MacBook-Air: [~/work/ens/dnsprove-js - (dnsprove)] $ node inspect node_modules/.bin/truffle migrate
< Debugger listening on ws://
< For help see
< Debugger attached.
debug> c
Break on start in node_modules/truffle/build/cli.bundled.js:1

Keybase proof

I hereby claim:

  • I am makoto on github.
  • I am makoto_inoue ( on keybase.
  • I have a public key ASDWPH9EJ_8hE-iTvOw7KpeuKUOfh94dm098MMdJbqaEngo

To claim this, I am signing this object:

View index2.js
var packet = require('dns-packet')
var axios = require('axios')
let buf = packet.encode({
type: 'query',
id: 1,
flags: packet.RECURSION_DESIRED,
questions: [{
type: 'TXT',
class: 'IN',
View rrsigdecode.js
> sigdata = foo.rrsig.decode(;
{ typeCovered: 'UNKNOWN_2051',
algorithm: 0,
labels: 1,
originalTTL: 1367373313,
expiration: 3152697827,
... }
> JSON.stringify(sigdata)
You can’t perform that action at this time.