Code Monkey home page Code Monkey logo

chargedparticlesweb's Introduction

Charged Particles - Particle Accelerator (Public Particle Minting Station) v0.0.15

Charged Particles are Non-Fungible Tokens (NFTs) that are minted with DAI and accrue interest via CHAI giving the Token a "Charge".

Demo

Pre-Production: https://charged-particles.netlify.com/

Staging: https://charged-particles-stage.netlify.com/

Video Demo (for SustainWeb3 Hackathon - dFuse integration)

https://drive.google.com/file/d/1gm-VDLYFfKjGuw29Vkj72zdl49DqhQ2a/view?usp=sharing

Value

Particle Value
  =
Intrinsic Value (underlying asset, DAI)
  + 
Speculative Value (non-fungible rarity)
  +
Interest value (accrued in CHAI)

Value Appreciation

Imagine a Babe Ruth rookie card that was stuffed with $1 and earning interest since 1916! The same might be true of a Charged Particle NFT in 100 years!

Ownership

Charged Particles are non-custodial NFTs that can be "discharged" at any time by the owner, collecting the interest from the token. And just like any NFT, they are yours trade, transfer, sell, etc.

They can also be burned (melted) to reclaim the underlying DAI + interest in full, destroying the token. Charged Particles, therefore, always have an underlying value in DAI.

Custom Mechanics

Based on the amount of "charge" a token has, Smart Contracts and/or Dapps can decide how to handle the token - custom mechanics can be designed around the level of "Charge" a token has.

Imagine an NFT that represents a Sword - the power of that sword could be dependant on the amount of "Charge" the token has. Or perhaps certain items can only be used once they reach a certain level of charge.

Other possibilities include battling over the "charge" of a particle - the winner earns the interest from their competitor's particles. (Still trying to work this part out, ideas are welcome!)

Token Flavours

Charged Particles currently come in 2 flavours:

  • ERC-721 - based on openzeppelin-solidity v2.4.0
  • ERC-1155 - based on multi-token-standard v0.8.9

Potential 3rd-flavour being researched: ERC-998 for composable particles that can wrap existing NFTs, enabling them to generate a charge too! Thanks to James McCall @mccallios for contributing to the idea!

Also being researched; Zapped NFTs (combining NFTs with DeFiZaps)

Feedback & Contributions

Feel free to fork and/or use in your own projects!

And, of course, contributions are always welcome!

Community

Join our community, share ideas and help support the project in anyway you want!

Discord: https://discord.gg/Syh3gjz

Solidity Contracts

Frameworks/Software used:

  • NodeJS v12.14.1
  • GatsbyJS v2.18.2
  • React v16.9.0
  • Web3.js v1.2.4
  • Material UI + Rimble UI
  • Wallet APIs:
    • Arkane
    • Authereum
    • Bitski
    • Fortmatic
    • MetaMask (or any browser based wallet)
    • Portis
    • Squarelink
    • Torus
    • Uport
    • WalletConnect
    • WalletLink

To run Locally:

  1. Create a local .env.development file with the following (replace ... with your keys):
    GATSBY_ETH_JSONRPC_URL="..."
    GATSBY_ETH_CHAIN_ID="..."
    
    GATSBY_FORTMATIC_APIKEY="..."
    GATSBY_PORTIS_DAPP_ID="..."
    GATSBY_UPORT_DAPP_NAME="..."
    GATSBY_BITSKI_CLIENT_ID="..."
    GATSBY_SQUARELINK_DAPP_ID="..."
    GATSBY_ARKANE_CLIENT_ID="..."
  1. yarn install
  2. yarn start

See package.json for more scripts

__________________________________

MIT License

Copyright (c) 2019, 2020 Rob Secord <robsecord.eth>

chargedparticlesweb's People

Contributors

robsecord avatar xeroblood-io 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.