Skip to content

Instantly share code, notes, and snippets.

Roman Storm rstormsf

Block or report user

Report or block rstormsf

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
@rstormsf
rstormsf / ballot.sol
Created May 11, 2019
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.5.8+commit.23d335f2.js&optimize=true&gist=
View ballot.sol
pragma experimental ABIEncoderV2;
interface ERC20 {
function name() external view returns (string memory);
/**
* @return the symbol of the token.
*/
function symbol() external view returns (string memory);
View index.html
<html>
<head>
<meta name="twitter:image" content="<!-- Fill in the body content here -->" />
<meta name="twitter:card" content="player" />
<meta name="twitter:title" content="ERC20 Faucet" />
<meta name="twitter:description" content="mint token inside twitter?" />
<meta name="twitter:player" content="https://erc20faucet.com" />
<meta name="twitter:player:width" content="360" />
<meta name="twitter:player:height" content="560" />
<title> Title</title>
View addresses_balances.csv
0x514a46427bb5d081ad608a638c3ab8c8dc5e658f 4.03
0xbd033238634e4d03441a2c9a6d0d764fe5b46b0e 8.27
0x5933404dd117d7c8143b45a4c4a385396e510c35 1.97
0xf9dda0399c98405051710a2226e5b18b968feea8 5
0x0e3ad48ffea8d147e363681ceff5f80cedd01b60 5.73
0x8e98f1e1be7d720df37d7ea6a99d4d1853078387 5.94
0x2efdfbf7d952f620cbf3c602b053da8130cf35fc 2.79
0xdfe814ef5e6709774fcdc11efddc3fcc971bd87e 1.93
0x724baa9ec832b9fa12991832c5f16eb08bfece38 2.28
0xf1acbdf9d1ba5a7bf11a2719b6800a539a4dc99f 5.34
View example_core_node.toml
[parity]
chain = "./spec.json"
base_path = "parity_data"
[network]
port = 30303
discovery=true
reserved_peers = "./bootnodes.txt"
[rpc]
View debug_trace.json
{
"jsonrpc": "2.0",
"id": 1,
"result": {
"type": "CALL",
"from": "0xa905556532f8353195f389824fa34ea8f9719519",
"to": "0x3e82a82f018a8ebf007c3805f467164dc11f47ac",
"value": "0x0",
"gas": "0x2b2e8",
"gasUsed": "0xde46",
View debug_trace.json
This file has been truncated, but you can view the full file.
{
"jsonrpc": "2.0",
"id": 1,
"result": {
"gas": 65030,
"failed": false,
"returnValue": "",
"structLogs": [
{
View getTransactionByHash.json
{
"jsonrpc": "2.0",
"id": 1,
"result": {
"blockHash": "0xf58802cc556fdbd7f0284879ce0e5172a1905d166814d744f71ec21240588676",
"blockNumber": "0x566ecb",
"from": "0xabe40a01fdb4a1f3d4a4425436a6e08aca71ebf7",
"gas": "0xc96f",
"gasPrice": "0x1dcd65000",
"hash": "0x12151c11366765936d7891d4dd67b0f518f22d985bcb826db40f034cf1913e31",
@rstormsf
rstormsf / gist:d34c84bf7a084ee26f27f82d41d78f30
Created May 10, 2018
How to use POA network bridge without metamask
View gist:d34c84bf7a084ee26f27f82d41d78f30
How to use the Bridge if you don't have metamask account?
From POA to POA20
1. Connect to POA.network public RPC node: https://core.poa.network
OR
Sync up your local parity node with POA.network
2. Send your POA native tokens to POA bridge address:
0xB87b6077D59B01Ab9fa8cd5A1A21D02a4d60D358
View BridgeValidators.json
[
{
"constant": true,
"inputs": [],
"name": "owner",
"outputs": [
{
"name": "",
"type": "address"
}
View r.json
curl --data '{"method":"trace_replayTransaction","params":["0x8d5e0073104f290be8802c59cb964d16630524f8dc1b24f071c094be5ebe4234", ["trace"]],"id":1,"jsonrpc":"2.0"}' -H "Content-Type: application/json" -X POST https://sokol-trace.poa.network
You can’t perform that action at this time.