Skip to content

paulinebanye/blockgames_tokens

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BLOCKGAMES INTERNSHIP TASK 3 - TOKENS

BRIEF

Create a simple ERC20 and ERC721 tokens that make use of inheritance and imported libraries, using any framework of your choice(remix, hardhat or truffle).

OBECTIVES

  • Implement a standard ERC20 token with a fixed total supply of 1,000,000 tokens.
  • Add a payable function "buyToken" which accepts an ethereum address, "receiver" as a parameter, and then increments the token balance of the receiver with bought tokens.
  • The cost of buying tokens would be 1000 Tokens per ETH.
  • Increment the total supply with the newly created tokens
  • Create an ERC721 token.
  • The token metadata should be stored onchain and the image in each metadata should be hosted on IPFS.
  • Mint two NFTs with your contract

IPFS LINKS

metadata: https://ipfs.io/ipfs/QmbpMabSZbsspSxpMpcaNxrGSwqjb5DaVk9ycVsBAh67Ki

image0: https://ipfs.io/ipfs/Qmb8rVBYFtYjTbvUjjZnjUr7C3Fjm24N53pno2YHqVRGWx

image1: https://ipfs.io/ipfs/QmdgCHUw1q2rvAUh1wqZxDaczTMvywnFscHXZp6Zj8Aprr

image2: https://ipfs.io/ipfs/QmXb452uCRjqs6z7wv9792HTMQk4cBPZyM8bdexPzSBK7v

All the metadata files are in the ERC721/metadata folder

MINTED NFTS

NFT 0: https://testnets.opensea.io/assets/0xd972e6ea0f6fb37901922122cd2b95987cea01e9/0

NFT 2: https://testnets.opensea.io/assets/0xd972e6ea0f6fb37901922122cd2b95987cea01e9/2

VERIFIED CONTRACT ADDRESSES

ERC20: https://rinkeby.etherscan.io/address/0x0123f9Fc74E55B3AE8A48216018d1eD78fb74126#code

ERC721: https://rinkeby.etherscan.io/address/0x8CCD190ad6AD8d2345E4E0700364A5a23478F00b#code

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published