Skip to content

Instantly share code, notes, and snippets.

View androolloyd's full-sized avatar
⛓️
Building @LastL2 | A Sustainable Twin Chain Ecosystem for Builders

androolloyd androolloyd

⛓️
Building @LastL2 | A Sustainable Twin Chain Ecosystem for Builders
View GitHub Profile
I contributed to the Semaphore Trusted Setup Multi-Party Ceremony.
The following are my contribution signatures:
Circuit: semaphore31
Contributor # 264
Hash: cd20ea3f f75c108d 54427cca 667b7ff9
cb91b8a3 a05bde02 cb9f97d0 c6aa3ece
f90bd584 d293bfce a41b11bf 04e39eaf
28ec9013 1bfc6e29 335c8daa bc66fab7
I contributed to the Semaphore Trusted Setup Multi-Party Ceremony.
The following are my contribution signatures:
Circuit: semaphore16
Contributor # 279
Hash: ce5a0242 18cdef78 a0f765bc 1e2135ae
2da30ffe a0e9ebc2 629f987a d5c9f5a7
1ad7b7c5 a0335797 d6806ecc f7e2dd18
16c5a2b8 0b6ac7ba 2cea7895 9b4015d2
did:3:bafyreia6a3emgmss7xts2njsgjaz25vx43cybgii3suvoruyo3f2waclnu
// SPDX-License-Identifier: Apache-2.0
pragma solidity 0.6.8;
library SafeMath {
/**
* @dev Returns the addition of two unsigned integers, reverting on
* overflow.
*

Keybase proof

I hereby claim:

  • I am androolloyd on github.
  • I am androolloyd (https://keybase.io/androolloyd) on keybase.
  • I have a public key ASAS0ciavtmA1x9ndoddaGiUu5uPcwzVv3UvtNviJIQRRAo

To claim this, I am signing this object:

modifier validateRelayRequest(
bytes4 sig,
bytes data,
uint8 v,
bytes32 r,
bytes32 s
) {
bytes32 digest = keccak256(
abi.encodePacked(
@androolloyd
androolloyd / truffleTestHelpers.js
Last active February 4, 2019 17:05
Trufflesuite Web3js 1.0 Test Helpers
const Web3 = require("web3") // import web3 v1.0 constructor
const getWeb3 = () => {
const myWeb3 = new Web3(web3.currentProvider)
return myWeb3
}
const getContractInstance = (web3) => async (contractName, opts) => {
opts = opts || {
#!/usr/bin/sh
rm -rf "$HOME/Library/Preferences/WebIde40"
rm -rf "$HOME/Library/Caches/WebIde40"
rm -rf "$HOME/Library/Application Support/WebIde40"
rm -rf "$HOME/Library/Logs/WebIde40"
#!/usr/bin/sh
rm -rf "~/Library/Preferences/WebStorm8"
rm -rf "~/Library/Caches/WebStorm8"
rm -rf "~/Library/Application\ Support/WebStorm8"
rm -rf "~/Library/Logs/WebStorm8"