Skip to content

Solidity SDK for enabling smart contract features to TwoBitBear holders

License

Notifications You must be signed in to change notification settings

dsmitchell/bearable-sol

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bearable Solidity SDK for the family of TwoBitBears NFT's

This project demonstrates how to provide smart contract functionality to official holders of TwoBitBears, the series of 5000 Hyper-Realistic Algorithmically Generated Crypto Collectable Bears Minted on the Ethereum Blockchain.

The first example of this capability can be found with the collaboration between Honey Computing & TwoBitBears

Also included is the Goldilocks base contract, which provides access to the first 3 generations of TwoBitBears, which will be used in upcoming projects.

Tests

If you cloned this project from git, to run the tests you will need to create an .env file with an entry for MAINNET_RPC_URL, e.g.

MAINNET_RPC_URL = https://eth-mainnet.alchemyapi.io/v2/{your_api_key}

Then you may execute unit tests with:

npx hardhat test

And coverage tests with:

npx hardhat coverage

Reference

For further reference, you may check out the code of TwoBitBears + Honey