Skip to content

Instantly share code, notes, and snippets.

View rfikki's full-sized avatar

Rocky Fikki rfikki

View GitHub Profile
/**
*Code author/customizations by rfikki - [email protected]
*Created for illustration only
*Using OpenZeppelin as basis
*To be submitted for verification at Etherscan.io on 2023-xx-xx
*/
// File: @openzeppelin/contracts/utils/Context.sol
@rfikki
rfikki / wordle1.md
Created January 18, 2022 15:59 — forked from Arachnid/wordle1.md

Total missed: 2

Total guesses: 6158

First guess: spend

aback

  • ⬜⬜🟩🟩🟩: quack

abate

Generate state:
bazel run //tools/genesis-state-gen --define=ssz=mainnet -- \
--num-validators=64 \
--output-ssz=/tmp/genesis.ssz \
--mainnet-config
BN1:
bazel run //beacon-chain --define ssz=mainnet -- \
--http-web3provider \
@rfikki
rfikki / rinkeby-lightclient-peers-latest.txt
Last active October 9, 2021 06:57
Rinkeby Lightclient Peers (Updated 04/18/2021)
admin.addPeer("enode://28e75598c11d7fbef66ccd9cd2283fa9ac41aaab356d429007e58595fb9179ef98f0ea8bc236e456b55883c86b20cf021f361c137bba0709abce0070c81fda3b@15.236.32.166:30303");
admin.addPeer("enode://b6b28890b006743680c52e64e0d16db57f28124885595fa03a562be1d2bf0f3a1da297d56b13da25fb992888fd556d4c1a27b1f39d531bde7de1921c90061cc6@159.89.28.211:30303");
admin.addPeer("enode://a24ac7c5484ef4ed0c5eb2d36620ba4e4aa13b8c84684e1b4aab0cebea2ae45cb4d375b77eab56516d34bfbd3c1a833fc51296ff084b770b94fb9028c4d25ccf@52.169.42.101:30303");
admin.addPeer("enode://573295b2652117992aaf64f555405bc77de62567d880c708ec350e785f6b35b0a8d4cff4df43539811bb05822077d7c0c842a9870833f5aac4590c367095eb3b@13.48.101.134:30303");
@rfikki
rfikki / goerli_lightclient-peers-latest.txt
Last active April 19, 2021 00:40
Goerli Lightclient Peers 04/18/2021 - IMPORTANT RUN THE LATEST RELEASE OF THE CLIENT - https://geth.ethereum.org/downloads/
admin.addPeer("enode://59d62ab6e3b70be2625da680c54fc082b5ad313840abc18ec0feddc4bcb5704318cf5dceb70ac6350b0ebbb9f851e87ec2bdca243d41dc1136c5325de1ad61d0@176.223.135.35:30303");
admin.addPeer("enode://a61215641fb8714a373c80edbfa0ea8878243193f57c96eeb44d0bc019ef295abd4e044fd619bfc4c59731a73fb79afe84e9ab6da0c743ceb479cbb6d263fa91@3.11.147.67:30303");
admin.addPeer("enode://4c59ae08cfb224119b4f579e5dc2b6d3010e63dd79ed930577871d6bdb162ef62b178bd53b1aecb1d82a6cecd2780bee188b405224c79a1f75a1e8737d977355@144.76.236.199:40303");
@rfikki
rfikki / goerli-peers-latest.txt
Last active January 7, 2023 07:03
Goerli Peers 02/25/2021 - IMPORTANT RUN THE LATEST RELEASE OF THE GETH CLIENT - https://geth.ethereum.org/downloads/
admin.addPeer("enode://bfb8f20e0bda834faecdca1a01de66b9a7fc184c2a30fca681e6e018aaae91db5d80021f9bf9b5ab598c06264b97a7e1dac1068d16267573c033245b62a2f1f7@47.103.147.67:30303");
admin.addPeer("enode://4d0f2ee1d123159525e4a98fb698076469099d326fe60499ec886e3864fbcc71d3f7b9003fa122058883d6924444bebcfc6bb18b6eb7010cc11571e9ab8ea45b@51.158.104.10:30303");
admin.addPeer("enode://40c212f40b6912dffe848e5c97987e527a3f6da8305a05de2d59cf9444a2d5e183bbb18fab95a7b7e5dc8fa7c30dad0f30f22d39bcdf22c97a1c5ae1fc0f2986@54.175.52.44:30303");
admin.addPeer("enode://26800845069faba9791520112350d0a5f0cd52d0af890196beeb5195345e17b00e60e27f260f6e24087e6066c2637e210f389a9795360b1251c17e58b95446f9@85.25.137.11:30303");
admin.addPeer("enode://2daaae5f69037e575fe169d64aa668223effdf60c2a1898492bf0a9bd45d4991355431ec5bcf9cba2eed1d750cd425d689e0e5cc7141f2954623e3d233ad44ed@80.221.111.50:30303");
admin.addPeer("enode://7a3041767f5bb2f96edf824b186ddb97fdff074675dd55f71347da3b7586210a6e09507415291d2c952dd34184b33562f9a4ecb0188ce3781df644e69901f660
pragma solidity ^0.4.0;
import './SafeMath.sol';
/**
* Here is an example of upgradable contract, consisting of three parts:
* - Data contract keeps the resources (data) and is controlled by the Handler contract;
* - Handler contract (implements Handler interface) defines operations and provides services. This contract can be upgraded;
* - Upgrader contract (optional) deals with the voting mechanism and upgrades the Handler contract. The voters are pre-defined
* by the contract owner.
@rfikki
rfikki / constantinople-ropsten-peers.txt
Last active January 15, 2024 07:11
Updated November 25, 2019: Ropsten Latest Peers with Istanbul - IMPORTANT RUN THE LATEST RELEASE OF THE CLIENT - https://geth.ethereum.org/downloads/ and use this flag --whitelist=6485846=0x43f0cd1e5b1f9c4d5cda26c240b59ee4f1b510d0a185aa8fd476d091b0097a80
admin.addPeer("enode://cd24a0c66055d788ce2bb77c2525915724a56de577b3e39c1a4dde347e60c83f082285a9d43a5ba0d7efc929699106d147e8d3612baafcaeb8f3075f36a82670@180.64.84.98:51044");
admin.addPeer("enode://86fb5f9e216c9fef5f97d3140d8d30ba13e2cc615ebb0b8e22975d296486e1f589baa6a2a4db6e0a1482f9b27a9e472efd94ec01cefc6e1d7e687dcdda0af5cc@46.105.118.30:30333");
@rfikki
rfikki / lightclient-ropsten-peers-latest.txt
Last active April 19, 2021 00:26
Last Updated 04/18/2021
admin.addPeer("enode://fafe7982ebe514913d295bc088fae3a2678aaf5783463421e7d2c22e1d2f363c2832143ecdd4a2270d14c2d0af80688e5ed0dce137e32812db6699c5e063c77e@167.71.164.90:30303");
admin.addPeer("enode://da0c61fe14ba9da1a9835b59d811553d21787448724cfe6412bc17f0b14586df91826d8286b2137342d09a8631df5ea548cf301294b05657c2a90f9c3d526721@143.198.119.44:30303");
admin.addPeer("enode://3e2287c6caf363357efc600611ccb777e6997ef8b749b1f87e94d3a7d2b466bbefba163b0620c88804f18bc70cfbe68538720ac2644fc1c970848488cdca0c7a@143.198.114.251:30303");
admin.addPeer("enode://15ea76b5d30ce9eaabf6a9a8fe5ca0ff032534d296b5b8ca6e00a730d08a4aaa019077c382a6b2d08ebc7cf6f8eb888f5e00e0dd378798e3459a555538654370@157.230.6.79:30303");
admin.addPeer("enode://2e718763172902a8fa4bcdda45f77a5c2688de5230e184d154e4867922b8f6ad23e1016379715cb5f55f6c79060563f93896035e35dfb47361d08599d4908ae8@143.198.118.178:30303");
admin.addPeer("enode://9d45f21eeb37bd5555fac0c4094ae3d4d144d93e2313aeb891bf3054b0dcf6ca817961ed29ea1de00389b5c36dc6bbe9b00443e367b16ed8ba251cea6c242044@94.176.237.140:30303");
admin.addPeer("enode://2493b5b8407ccb1c448d7ad358e838066640f273442730caf80acde2fe98522b1d9dcebd2dc982efe44911a49779888fe72defc181c29596facff05e1