Unleash your money-streaming powers with SuperUnlockable collection. You can showcase your financial prowess and level up your character in the world of decentralized gaming. As you meet the required streaming thresholds, you'll gain access to mint these exceptional in-game items. The key? Your item's attributes dynamically respond to your streaming activity. The more you stream, the mightier your in-game item becomes. Wanna Try it out? SuperUnlockable Dapp
Note: To mint/unlock NFTs, you'll need to stream a minimum of 0.01
fDAIx
to the SuperUnlockable Contract on Polygon Mumbai. You can getfDAIx
by depositingfDAI
into your account and then wrapping it tofDAIx
on the Superfluid App.
Once you've successfully streamed the required amount of fDAIx and minted your SuperUnlockable item, you'll unlock unique in-game powers and abilities. The key? Your item's attributes dynamically respond to your streaming activity. The longer and more consistently you stream, the more powerful your in-game item becomes.
Your SuperUnlockable item attributes are determined by your streaming data:
Power: The amount of power you gain is based on the duration and consistency of your streaming activity. The longer and more the flowrate, the more powerful your in-game item becomes.
Speed: Your in-game item's speed in the game world is directly proportional to the amount of fDAIx/second
you're streaming to the contract.
Age: The age of your in-game character reflects how long you've been actively streaming to the contract.
You can try out the demo here.
Copy the
.env.example
file to.env
and fill in the required environment variables.
- Install required dependencies:
npm install
- Compile Contracts:
npx hardhat compile
- Deploy Contract:
npx hardhat deploy --network base
- Start the client application:
Copy the
client/.env.example
file toclient/.env
and fill in the required environment variables. Updateclient/utils/constants.js
accordingly if you're using a different network/token or contract address than the default.
```bash
cd client
npm install
npm run dev
- Navigate to http://localhost:3000/ in your browser to view the application. Start streaming to the contract to unlock the NFTs.
This is experimental software and subject to change over time.
This is a proof of concept and is not ready for production use. It is not audited and has not been tested for security. Use at your own risk. I do not give any warranties and will not be liable for any loss incurred through any use of this codebase.
This project is licensed under the MIT License - see the LICENSE file for details