Skip to content

Metaverse-DNA-KrawlCat API Task for ETHWaterloo Participants. If you have any questions related to the task, make a PR!

Notifications You must be signed in to change notification settings

yesbit/ETHWaterloo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 

Repository files navigation

alt text

Prize

WIN 2k CAD worth of DNA (Metaverse Dual Chain Network Architecture tokens)

Task

Facitilate interoperability between Metaverse (a Bitcoin based blockchain) and the Ethereum network (ERC 1973).

Architecture

  • Use the Metaverse API explorer to query information pertaining to avatars & certificates with the 'request URL' through server side code (e.g. nodejs or python).

  • Create corresponding Ethereum accounts for Metaverse accounts using web3.js and store the pairs in a data structure.

  • Whitelist these Ethereum addresses using the function addMinters() in the ERC 1973 smart contract through your server side code by signing transactions with corresponding private keys or mnemonic. Suggested npm packages include - bip39, ethereumjs-wallet/hdkey, ethereumjs-tx. This whitelisiting will allow these ETH addresses to receive ERC20 token rewards.

  • You can then use the function trigger() in ERC 1973 to facitilate minting ERC20 tokens by any of the above whitelisted address. Rewards can be withdrawn through the withdraw() function. Create useful cryptoeconomic enviroments with the newly minted ERC20 tokens for metaverse avatar or certificate holders. This is up to you!

Notes on Metaverse API Explorer

Notes on ERC 1973

  • The current algorithm allows the early participants in the network to receive more ERC20 rewards compared to the ones that join later. Hence, whitelist the metaverse addresses according to the historical timestamp or blocknumber.

  • You need to create an incentive environment for Metaverse avatar or certificate holders to join the token network created through ERC 1973. E.g the ERC20 could be redeemed for more ETP at a 1:10 ratio for avatar holders, different certificate holders (domain,naming) could receive ETP or DNA in exchange for the ERC20 tokens according to a hierarchy. This will be more of a bussines case write-up rather than technical implementation.

  • _blockFreezeInterval is to block ERC20 tokens coming into the economy for a certain period of time so that the network is not susceptible to DDoS. If this is confusing, you can set it to 0 in the constructor.

Reference Links

Project Submissions

Company Links

About

Metaverse-DNA-KrawlCat API Task for ETHWaterloo Participants. If you have any questions related to the task, make a PR!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published