Skip to content

Instantly share code, notes, and snippets.

@Sankalpks
Sankalpks / 3_Maappings_Trial.sol
Created January 6, 2022 06:49
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=builtin&optimize=false&runs=200&gist=
pragma solidity ^0.6.0;
contract MyContract{
mapping(uint=>Book) public books;
mapping(address=> mapping(uint=>Book)) public mybooks;
struct Book{
string Title;