paypr / ethereum-contracts

Solidity contracts support the Paypr ecosystem
Other
1 stars 1 forks source link

Make Skills soulbound ERC1155 tokens #69

Open payprmoney opened 2 years ago

payprmoney commented 2 years ago

Skills are currently a custom implementation, but as such they don't support any of the standards.

Change the Skills implementation so that it is based on the ERC1155 standard:

  1. Create ERC1155 implementation and facets similar to the ERC721 implementation (with hooks, etc.)
  2. Create an ERC1155 hook preventing transfer (except minting and burning) to support soulbound tokens
  3. Create new Skill implementation and facets that use ERC1155 implementation to store the levels as token IDs (level 1 is ID 1, level 2 is ID 2, etc.)
  4. Add an Upgrade contract that can be used to upgrade from Skill v1 to the ERC1155-based Skill
  5. Do NOT change the existing Skill implementation as will be maintained for backward compatibility and used for upgrades
0xm00neth commented 2 years ago

@payprmoney I'm interested in this bounty.

lyledavids commented 2 years ago

Applied for this, but no way to discuss as your discord link is not working

payprmoney commented 2 years ago

Applied for this, but no way to discuss as your discord link is not working

Tnanks for letting me know. I've put up a new Discord link.