- Content provided as a GitBook
- https://battlezips.com/resources redirects to https://battlezips.github.io/resources where the GitBook is hosted
- 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
- Starting the journey into ZK Dev
- managing expectations
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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'); | |
/** |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |