Clone the repo; install dependencies.
$ git clone https://github.com/yan-man/sample-structs.git
$ npm install
To see the struct setters and getters in action:
$ npx hardhat test
Sample.sol
shows the contract where sample structs are defined.
Some simple struct examples
Clone the repo; install dependencies.
$ git clone https://github.com/yan-man/sample-structs.git
$ npm install
To see the struct setters and getters in action:
$ npx hardhat test
Sample.sol
shows the contract where sample structs are defined.
Some simple struct examples