Skip to content

Instantly share code, notes, and snippets.

View eccentricexit's full-sized avatar

Matt eccentricexit

View GitHub Profile
@eccentricexit
eccentricexit / index.js
Created February 4, 2022 22:44
Querying NFT and NFT Collections
const fetch = require("node-fetch");
async function main() {
const collectionToCheck = `0xed5af388653567af2f388e6224dc7c4b3241c544`;
const nftCollectionsAddress = `0x2f19f817bbf800b487b7f2e51f24ad5ea0222463`;
console.info(
`Is the collection ${collectionToCheck} in the NFT registry (${nftCollectionsAddress})?`
);
console.info(
await isCollectionRegistered(collectionToCheck, nftCollectionsAddress)
@eccentricexit
eccentricexit / attestation.txt
Created September 3, 2021 13:24
Attestation
I contributed to the clr.fund Trusted Setup Multi-Party Ceremony.
The following are my contribution signatures:
Circuit: qvt32
Contributor # 111
Hash: b6053450 7bc0067d 91220eb1 ee13ecc2
5c18de11 57d8ef4e 007ff371 800c6304
15908b84 24f99210 8bc36b5d d02f7d29
d2c6204a 89302c35 d2a941a2 052186c2
@eccentricexit
eccentricexit / KPNK.md
Created August 8, 2019 12:58
KPNK Print guide

For anyone who needs Kovan PNK:

  1. You need the shared wallet imported on metamask.
  2. Go to the PNK contract here: https://kovan.etherscan.io/address/0x1ee318dbc19267dbce08f54a66ab198f73ede356#writeContract
  3. Call the generateTokens function with the address that will be blessed with PNK as the _owner and the amount of tokens you want * 10^18 as _amount
  4. Once metamask pops up, you will notice it predicts that the transaction will fail. That's ok. Click on the Data tab and copy the hex code. It looks similar to this: 0x827f32c00000000000000000000000007cfa255496a7631f5750f6bd94223e6b1759f23e0000000000000000000000000000000000000000000000000de0b6b3a7640000
  5. Go to KlerosLiquid: https://kovan.etherscan.io/address/0x60b2abfdfad9c0873242f59f2a8c32a3cc682f80#writeContract
  6. Call executeGovernorProposal with the parameters: