The Griffin Protocol- Dhruv SoniThe griffin protocol is a decentralized storage protocol harnessing the powers of smart contracts and IPFS to store immutable data in an efficient and distributed way. Let us walk through how the protocol works. It starts with a client in need of som...Mar 28, 2023·3 min read
Blogging in the Decentralized WebThis article is given in reference to the code that i have written in the Protoschool website. We have already worked with the IPFS DAG Api and the content based addressing and how the content ids can be linked with each other. Now let us first creat...Mar 22, 2023·2 min read
Mainnet forkingOk so sometimes testing and working with smart contracts in the testnet doesn't work. This is because there are some smart contracts that are only deployed in the mainnet and thus we need some way to interact with such smart contracts and get hold of...Mar 21, 2023·1 min read
What is RPC?The term RPC stands for remote procedural call. Let's say that a developer A has written a javascript program which performs some tasks. The developer B has also written a java program which performs some form of computations. Both these programs are...Mar 21, 2023·1 min read
Troubleshoot codeyarn chain command is used to start the backend in the form of hardhat. Once we execute this command we get a list of all the curated and in built addresses that are provided to us by the hardhat. A Also we can import the hardhat/console.sol smart co...Mar 21, 2023·1 min read
Smart contract patternNow let us say there is a smart contract A that is minting lets say 1000 tokens in its constructor by inheriting the ERC20 smart contract. Also there is a smart contract B that wants to have those 1000 tokens that are minted by the smart contract A. ...Mar 21, 2023·1 min read
Why randomness is tricky on a public blockchain?Let us consider a smart contract that generates the random numbers on chain. How does it generate the random numbers? Using the block hash of the previous block, current balance of the smart contract and the nonce which starts from 0 and increases ea...Mar 21, 2023·1 min read