Skip to content

Instantly share code, notes, and snippets.

View PJColombo's full-sized avatar
✴️
If you build it, they will come

elessar.eth PJColombo

✴️
If you build it, they will come
View GitHub Profile
import { ethers } from "hardhat";
import ora from "ora";
import { EVMcrispr } from "../src";
import { Contract } from "ethers";
import { toDecimals, TX_GAS_LIMIT, TX_GAS_PRICE } from "../src/helpers";
let spinner = ora();
// COMMONS UPGRADE PARAMETERS
// const gardensDAOAddress = "0x8bebd1c49336Bf491ef7bd8a7f9A5d267081b33E";
@PJColombo
PJColombo / EVMcrispr-installation-example.ts
Last active September 13, 2021 22:24
Disputable Voting and Tollgate installation
import { ethers } from "hardhat";
import { EVMcrispr, toDecimals } from "@commonsswarm/evmcrispr"
async function main() {
const signer = (await ethers.getSigners())[0];
const evmcrispr = await EVMcrispr.create(signer, gardensDAOAddress);
const encodedAction = await evmcrispr.encode(
[
@PJColombo
PJColombo / gist:cc47138b3c3bfd586653657a52746fe0
Created March 5, 2021 12:01
create-aragon-app error log
tallahassee@tallahassee:~/Projects$ npx create-aragon-app test
✔ Preparing initialization
✔ Cloning app template
✔ Preparing template
✖ Installing package dependencies
→ Failed to install dependencies. See above output.
✖ Command failed with exit code 1: yarn install
warning package.json: No license field
warning test@0.0.1: No license field
warning Pattern ["cors@latest"] is trying to unpack in the same destination "/home/tallahassee/.cache/yarn/v6/npm-cors-2.8.5-eac11da51592dd86b9f06f6e7ac293b3df875d29-integrity/node_modules/cors" as pattern ["cors@^2.8.1"]. This could result in non-deterministic behavior, skipping.

Keybase proof

I hereby claim:

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

To claim this, I am signing this object: