I hereby claim:
- I am hudhaifahz on github.
- I am hudhaifahz (https://keybase.io/hudhaifahz) on keybase.
- I have a public key ASD_ZurFdZAYt8lJI_ptnO97Vhckv4n-yK1JyL4pzDM1dAo
To claim this, I am signing this object:
// SPDX-License-Identifier: MIT | |
// File: @openzeppelin/contracts/GSN/Context.sol | |
// https://ropsten.etherscan.io/address/0x8df55a60a1c98281a60d6c89f59398bee854fbc8#code | |
pragma solidity ^0.6.0; | |
/* | |
* @dev Provides information about the current execution context, including the | |
* sender of the transaction and its data. While these are generally available | |
* via msg.sender and msg.data, they should not be accessed in such a direct |
var ethUtil = require('ethereumjs-util') | |
var data = 'Hello World!' | |
var message = new Buffer(data) | |
var msgHash = ethUtil.hashPersonalMessage(message) | |
// privateKey = 0xc87509a1c067bbde78beb793e6fa76530b6382a4c0241e5e4a9ec0a0f44dc0d3 | |
// publicKey = 0x627306090abaB3A6e1400e9345bC60c78a8BEf57 | |
var privateKey = new Buffer('c87509a1c067bbde78beb793e6fa76530b6382a4c0241e5e4a9ec0a0f44dc0d3', "hex") | |
var sig = ethUtil.ecsign(msgHash, privateKey) |
REMIX EXAMPLE PROJECT | |
Remix example project is present when Remix loads very first time or there are no files existing in the File Explorer. | |
It contains 3 directories: | |
1. 'contracts': Holds three contracts with different complexity level, denoted with number prefix in file name. | |
2. 'scripts': Holds two scripts to deploy a contract. It is explained below. | |
3. 'tests': Contains one test file for 'Ballot' contract with unit tests in Solidity. | |
SCRIPTS |
I hereby claim:
To claim this, I am signing this object: