Server.start
Get the public key hash by computing OP_HASH160 of public key
In this example:
- public key: 033e8c5dcb8e35670de496b57c1fa4366800ce3be5fded9b8800759881bc8da2e5
- public key hash: 60d47ac02b129c08f94232ea506d1826424fe7be
This file contains 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"); | |
const assert = require("assert"); | |
const web3 = new Web3(); | |
const email = "email@email.com"; | |
const COLORS = [ | |
"red", | |
"blue", | |
"yellow", |
I hereby claim:
- I am t4sk on github.
- I am tsknk (https://keybase.io/tsknk) on keybase.
- I have a public key ASDyZ1hblodO_TVvXYnHmPsWLpqRbYlgG6xzpy0Br_8m7Qo
To claim this, I am signing this object:
This file contains 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
pragma solidity ^0.5.3; | |
contract Wei { | |
uint public oneEther = 1 ether; | |
function test() public pure { | |
assert(1 ether == 1e18 wei); | |
assert(1 wei == 1); | |
} | |
} |
NewerOlder