Charged Particles - Particle Accelerator (Public Particle Minting Station) v0.0.20
Charged Particles are Non-Fungible Tokens (NFTs) that are minted with DAI and accrue interest via CHAI giving the Token a "Charge".
Video Demo (for SustainWeb3 Hackathon - dFuse integration)
Particle Value = Intrinsic Value (underlying asset, DAI) + Speculative Value (non-fungible rarity) + Interest value (accrued in CHAI)
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!
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.
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!)
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!
Join our community, share ideas and help support the project in anyway you want!
- Flavours: ERC721, ERC1155
- Repo: https://github.com/robsecord/ChargedParticlesEth
- NodeJS v12.14.1
- GatsbyJS v2.18.2
- React v16.9.0
- Web3.js v1.2.4
- Material UI + Rimble UI
- Wallet APIs:
- MetaMask (or any browser based wallet)
To run Locally:
- 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="..."
- yarn install
- yarn start
See package.json for more scripts
Copyright (c) 2019, 2020 Rob Secord <robsecord.eth>