https://github.com/doiim/fluid-miners
Create your own Super Token then fill a mineable asteroid with it. The DAI supertoken is used as energy to drill the asteroid. A maximum constant flow is used to allow multiple miners on same asteroid, once the token resource is depleted, mining stops automaticaly.
https://github.com/doiim/fluid-miners
dai ethglobal makerdao solidity superfluid-finance vue
Last synced: 3 months ago
JSON representation
Create your own Super Token then fill a mineable asteroid with it. The DAI supertoken is used as energy to drill the asteroid. A maximum constant flow is used to allow multiple miners on same asteroid, once the token resource is depleted, mining stops automaticaly.
- Host: GitHub
- URL: https://github.com/doiim/fluid-miners
- Owner: doiim
- Created: 2021-09-20T18:26:52.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2021-10-08T23:18:22.000Z (over 3 years ago)
- Last Synced: 2025-01-12T07:45:32.526Z (5 months ago)
- Topics: dai, ethglobal, makerdao, solidity, superfluid-finance, vue
- Language: JavaScript
- Homepage:
- Size: 8.17 MB
- Stars: 2
- Watchers: 5
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Fluid Miners
Create your own Super Token then fill a mineable asteroid with it. The DAI supertoken is used as energy to drill the asteroid. A maximum constant flow is used to allow multiple miners on same asteroid, once the token resource is depleted, mining stops automaticaly.
This project is developed by [Filipe Soccol](https://github.com/filipesoccol) for [ETHGlobal 2021](https://online.ethglobal.com).
## Project setup
```
npm install
```### Compiles and hot-reloads for development
```
npm run serve
```### Compiles and minifies for production
```
npm run build
```### Deploy project to github-pages after build
```
npm run deploy
```## Network
| **Ropsten** | Address |
| ----------- | ----------- |
| AsteroidFactory | [0xE84ceC51952b5a6C882B898d541ecFe13c611d34](https://ropsten.etherscan.io/address/0xE84ceC51952b5a6C882B898d541ecFe13c611d34) |
| Asteroid Example | [0x19b93b4b57afafe001c419e0bfc6ea3eecab775d](https://ropsten.etherscan.io/address/0x19b93b4b57afafe001c419e0bfc6ea3eecab775d) |
| SuperToken Example | [0x04ec8433d16197ca2ace5e58ca5f3e37cdb50366](https://ropsten.etherscan.io/address/0x04ec8433d16197ca2ace5e58ca5f3e37cdb50366) || **Goerli** | Address |
| ----------- | ----------- |
| AsteroidFactory | [0x6478398BC205192866bDAF93D71966322cb78292](https://goerli.etherscan.io/address/0x6478398BC205192866bDAF93D71966322cb78292) |
| Asteroid Example | [0x19b93b4b57afafe001c419e0bfc6ea3eecab775d](https://goerli.etherscan.io/address/0x19b93b4b57afafe001c419e0bfc6ea3eecab775d) |
| SuperToken Example | [0x04ec8433d16197ca2ace5e58ca5f3e37cdb50366](https://goerli.etherscan.io/address/0x04ec8433d16197ca2ace5e58ca5f3e37cdb50366) || **Mumbai (Polygon)** | Address |
| ----------- | ----------- |
| AsteroidFactory | [0xA0100c8FFD21e129A9469F8585b1cCa767650DAB](https://mumbai.polygonscan.com/address/0xA0100c8FFD21e129A9469F8585b1cCa767650DAB) |
| Asteroid Example | [0x2202E74be5C12f58D9c27bE3463869FBd1b8A477](https://mumbai.polygonscan.com/address/0x2202E74be5C12f58D9c27bE3463869FBd1b8A477) |
| SuperToken Example | [0x04ec8433d16197ca2ace5e58ca5f3e37cdb50366](https://goerli.etherscan.io/address/0x63267D520Cc36C32ed39d78e0993AE457eab4c3E) |
*Obs.: Mumbai testnet is giving errors on Superfluid-SDK trying to fetch logs too far.#### Open Contracts on Remix
Click on the link that appears on this Gist: https://gist.github.com/filipesoccol/b5da569d96da76b7661d8c2dc4bb5b40
## Sponsors
[ETHGlobal](https://ethglobal.com)
[SuperFluid](https://superfluid.finance)
[MakerDAO](https://makerdao.com)
[Doiim](https://doiim.com)
## References
[Superfluid: Augmenting your Ethereum app with Money Streaming](https://youtu.be/lothiCAVy7E)
[Simple Stream Swap Gist](https://gist.github.com/hellwolf/de102ea2cbd49ae30a3ec9795e8bd52f)
[SODA Machine](https://docs.superfluid.finance/superfluid/resources/examples/soda-machine)