Skip to content

Instantly share code, notes, and snippets.

View jp4g's full-sized avatar
🖥️

Jack Gilcrest jp4g

🖥️
View GitHub Profile
@jp4g
jp4g / gist:22dd63ef7547e392b9f8c306ee632a32
Last active September 28, 2022 08:53
Planned Awesome-Circom GitBook
  • Content provided as a GitBook
  • Sections
    • We need to have the GitBook up as early next week as possible to post in the Iden3 channel as they will assist with content
    • Intro
      • Starting the journey into ZK Dev
        • cryptobook
        • mathematical requirement
        • solidity requirement
  • managing expectations
@jp4g
jp4g / magicEdenParser.js
Last active July 24, 2022 07:38 — forked from mertimus/magicEdenParser.js
Magic Eden On-Chain Transaction Parsing
const solanaWeb3 = require('@solana/web3.js');
// replace with private paid RPC for best functionality
const rpc = "https://ssc-dao.genesysgo.net";
// magic eden v2 solana program ID
const magicEdenPID = new solanaWeb3.PublicKey("M2mx93ekt1fmXSVkTrUL9xVFHkmME8HTUi5Cyc5aF7K");
// only return confirmed transactions
const solana = new solanaWeb3.Connection(rpc, 'confirmed');
/**
@jp4g
jp4g / eth-bank.sol
Created February 14, 2019 17:49
Ethereum Solidity File
pragma solidity >=0.4.22 <0.6.0;
/**
* Interface for bank contract
* Topics: How to use and implement an interface, syntax
**/
interface Bank_Interface {
/**
* Deposit value into the bank