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"); | |
| 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 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
| 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); | |
| } | |
| } |
I hereby claim:
- I am t4sk on github.
- I am t4sk (https://keybase.io/t4sk) on keybase.
- I have a public key ASBBLtnHpb6we3Je4w_ctTBa7p2XJXl0fDn2Yb9-fi04ggo
To claim this, I am signing this object:
Click here to covert private key to WIF
In this example
- private key = 619c335025c7f4012e556c2a58b2506e30b8511b53ade95ea316fd8c3286feb9
- WIF = 92KuV1Mtf9jTttTrw1yawobsa9uCZGbfpambH8H1Y7KfdDxxc4d
Get the public key hash by computing OP_HASH160 of public key
In this example:
- public key: 033e8c5dcb8e35670de496b57c1fa4366800ce3be5fded9b8800759881bc8da2e5
- public key hash: 60d47ac02b129c08f94232ea506d1826424fe7be
NewerOlder