Giter Club home page Giter Club logo

berry-blocks's Introduction

Berry Blocks project

Berries that can be turned into blocks, inspired by Pokemon, and build for Pokemon ENS community

Berries

Berries are ERC-20 tokens on Arbitrum. Every pokemon ENS name holder included in the snapshot received 151 (for the 151 original pokemon) berries of each type at initial deployment. Berry Blocks can be used to attract pokemon.

Deployments:

New berries can be created at any time.

There are 1025 Pokemon ENS names, and each received 151 of the 4 initial types of berries. Meaning the total initial berry supply is capped at: 1025 x 151 x 4 = 619,100 Berries

About 15 Pokemon ENS names are unowned because of experiations. The berries left over from not sending to unowned Pokemon ENS names will be used for providing liquidity.

Berry Block NFTs

Each Berry Block is a unique 1 of a kind NFT. Berry Blocks are created by grinding 10 x 4 kinds of berries together through calling the grind function. The same kinds of berries can be used, but 4 groups of 10 tokens must be supplied. Berries used in this way are burned.

Berry Block traits are deterministically created and unique to each combination โ€“ so if you use a different combination of berries the resulting Blocks will be different. But if you use the same combination twice the resulting Blocks will be exactly the same.

For security, the Berry Block NFT contract must be given an allowance on each berry token to use them.

619,100 berries / 40 berries per Berry Block = maximum 15,477 NFTs with 4^4 = 256 different combinations of traits.

Deployment

Deployed and verified on Arbitrum here:

Technical Features

  1. An admin can set an external URI contract which has unique URIs for each NFT. This can be updated at any time for now. This can also be removed with the same setExternalURI function.
  2. New berry types can be added using the adminUpdateNewBerryType function using the public address of the berry token.
  3. Berry types can't be removed.

berry-blocks's People

Contributors

cupojoseph avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.