The BirdieNFTs.sol is a smart contract that can be used to generate birdie tokens with the token name as Birdies and symbol as BRDS
However, this project is centered on creating a smart contract that allow for the creation of another smart contract that can be used to generate NFT tokens. The BtirdieNFTFactory allow the creation of such smart contracts.
- run
truffle compile
to compile smart contract - run
ganache-cli
to connect ethereum client and have access to accounts for use when creating the smart contract. truffle test
will run BirdieNFTS.test.js and provide the test result for BirdieNFTs.sol- run both BirdieNFTFactory.sol and BirdieNFT.sol with
truffle develop
- copy BirdieSpeciesNFTSFactory.sol in the remix folder to a Remix IDE
- run
ganache-cli
to connect ethereum client and have access to accounts for use when creating the smart contract. - connect to ganache on remix IDE using
web3 provider
- compile and deploy smart contract. select contract BirdieNFTFactory to deploy smart contract
- create and deploy any NFT Token smart contracts by providing the token name and symbol in createToken function.
- give a number (e.g. 0) to BirdieNFTContracts function to get the address to the created NFTToken smart contract
- check the functionality of an instance of the NFT smart contract created by BirdieSpeciesNFTs contract.
- Copy and paste the NFTToken Smart Contract address to At Address to deploy and start creating tokens.