├── Subscription
├── 1337.sol
├── arguments.js
├── dependencies.js
└── Subscription.sol
├── contracts.clevis
├── stop.sh
├── .gitattributes
├── grants
├── build.sh
├── deploy.sh
├── invalidate.sh
├── src
│ ├── loader.gif
│ ├── assets
│ │ └── img
│ │ │ ├── bkg.jpg
│ │ │ ├── loader.gif
│ │ │ ├── loader.png
│ │ │ ├── logo-icon.png
│ │ │ ├── particles.png
│ │ │ └── back-arrow.png
│ ├── index.js
│ ├── App.test.js
│ ├── components
│ │ ├── Nav.js
│ │ ├── ProgressBar.js
│ │ ├── GrantBox.js
│ │ ├── GrantsList.js
│ │ ├── Home.js
│ │ └── CreateGrants.js
│ ├── coins.js
│ ├── App.css
│ └── App.js
├── README.md
├── public
│ ├── favicon.ico
│ ├── manifest.json
│ └── index.html
├── todo.md
├── .gitignore
├── package.json
├── invalidate.js
└── deploy.js
├── attach.sh
├── deploy.sh
├── docker
├── build.sh
├── run.sh
├── attach.sh
├── Dockerfile
└── bootstrap.sh
├── invalidate.sh
├── tests
├── fast.js
├── full.js
├── metamask.js
├── publish.js
├── version.js
├── compile.js
├── deploy.js
├── example.js
└── clevis.js
├── backend
├── follow.sh
├── run.sh
├── devDatabase.sh
├── redis.sh
├── README.md
└── modules
│ ├── liveParser.js
│ ├── contractLoader.js
│ └── eventParser.js
├── src
├── index.css
├── bkg.jpg
├── loader.gif
├── loader.png
├── logo-icon.png
├── particles.png
├── back-arrow.png
├── index.js
├── App.test.js
├── components
│ ├── particles.js
│ ├── mainui.js
│ ├── publisherDeploy.js
│ ├── component-mockup.js
│ ├── subscriberApprove.js
│ ├── publisher.js
│ └── subscriber.js
├── coins.js
├── App.css
└── App.js
├── public
├── favicon.ico
├── particles.png
├── manifest.json
├── coinsubscription.css
├── index.html
└── coinsubscription.js
├── run.sh
├── demosite
├── trash-site-top-image.jpg
├── trash-site-bottom-image-left.jpg
├── trash-site-bottom-image-right.jpg
├── site.css
└── index.html
├── WasteCoin
├── arguments.js
├── WasteCoin.sol
├── dependencies.js
└── WasteCoin.compiled
├── TokenExampleSubscriptionToken
├── arguments.js
├── TokenExampleSubscriptionToken.sol
├── dependencies.js
└── TokenExampleSubscriptionToken.compiled
├── clevis.json
├── package.json
├── .gitignore
├── LICENSE
└── README.md
/Subscription/1337.sol:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/contracts.clevis:
--------------------------------------------------------------------------------
1 | Subscription
2 | WasteCoin
3 |
--------------------------------------------------------------------------------
/stop.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | docker stop clevis
3 |
--------------------------------------------------------------------------------
/.gitattributes:
--------------------------------------------------------------------------------
1 | *.sol linguist-language=Solidity
2 |
--------------------------------------------------------------------------------
/grants/build.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | npm run build
3 |
--------------------------------------------------------------------------------
/grants/deploy.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | node deploy.js
3 |
--------------------------------------------------------------------------------
/attach.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | docker exec -ti clevis bash
3 |
--------------------------------------------------------------------------------
/grants/invalidate.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | node invalidate.js
3 |
--------------------------------------------------------------------------------
/deploy.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | clevis upload tokensubscription.com
3 |
--------------------------------------------------------------------------------
/docker/build.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | docker build -t metatxrelay .
3 |
--------------------------------------------------------------------------------
/invalidate.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | clevis invalidate E5BJLSWQB882H
3 |
--------------------------------------------------------------------------------
/tests/fast.js:
--------------------------------------------------------------------------------
1 | const clevis = require("./clevis.js")
2 | clevis.fast()
3 |
--------------------------------------------------------------------------------
/tests/full.js:
--------------------------------------------------------------------------------
1 | const clevis = require("./clevis.js")
2 | clevis.full()
3 |
--------------------------------------------------------------------------------
/backend/follow.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | pm2 logs -f tokensubminer --lines 1000
3 |
--------------------------------------------------------------------------------
/tests/metamask.js:
--------------------------------------------------------------------------------
1 | const clevis = require("./clevis.js")
2 | clevis.metamask()
3 |
--------------------------------------------------------------------------------
/tests/publish.js:
--------------------------------------------------------------------------------
1 | const clevis = require("./clevis.js")
2 | clevis.publish()
3 |
--------------------------------------------------------------------------------
/tests/version.js:
--------------------------------------------------------------------------------
1 | const clevis = require("./clevis.js")
2 | clevis.version()
3 |
--------------------------------------------------------------------------------
/backend/run.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | rm -rf redisdata/ ; ./redis.sh ; nodemon tokensubminer.js
3 |
--------------------------------------------------------------------------------
/src/index.css:
--------------------------------------------------------------------------------
1 | body {
2 | margin: 0;
3 | padding: 0;
4 | font-family: sans-serif;
5 | }
6 |
--------------------------------------------------------------------------------
/src/bkg.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EthereumOpenSubscriptions/reference-client/HEAD/src/bkg.jpg
--------------------------------------------------------------------------------
/src/loader.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EthereumOpenSubscriptions/reference-client/HEAD/src/loader.gif
--------------------------------------------------------------------------------
/src/loader.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EthereumOpenSubscriptions/reference-client/HEAD/src/loader.png
--------------------------------------------------------------------------------
/src/logo-icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EthereumOpenSubscriptions/reference-client/HEAD/src/logo-icon.png
--------------------------------------------------------------------------------
/src/particles.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EthereumOpenSubscriptions/reference-client/HEAD/src/particles.png
--------------------------------------------------------------------------------
/public/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EthereumOpenSubscriptions/reference-client/HEAD/public/favicon.ico
--------------------------------------------------------------------------------
/public/particles.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EthereumOpenSubscriptions/reference-client/HEAD/public/particles.png
--------------------------------------------------------------------------------
/src/back-arrow.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EthereumOpenSubscriptions/reference-client/HEAD/src/back-arrow.png
--------------------------------------------------------------------------------
/grants/src/loader.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EthereumOpenSubscriptions/reference-client/HEAD/grants/src/loader.gif
--------------------------------------------------------------------------------
/grants/README.md:
--------------------------------------------------------------------------------
1 | # Token Subscription Grants
2 |
3 | A super slimmed down version of what will become Gitcoin Dev Grants!
4 |
--------------------------------------------------------------------------------
/grants/public/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EthereumOpenSubscriptions/reference-client/HEAD/grants/public/favicon.ico
--------------------------------------------------------------------------------
/run.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | docker run -ti --rm --name clevis -p 3000:3000 -p 8545:8545 -v ${PWD}:/dapp austingriffith/clevis
3 |
--------------------------------------------------------------------------------
/grants/src/assets/img/bkg.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EthereumOpenSubscriptions/reference-client/HEAD/grants/src/assets/img/bkg.jpg
--------------------------------------------------------------------------------
/grants/src/assets/img/loader.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EthereumOpenSubscriptions/reference-client/HEAD/grants/src/assets/img/loader.gif
--------------------------------------------------------------------------------
/grants/src/assets/img/loader.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EthereumOpenSubscriptions/reference-client/HEAD/grants/src/assets/img/loader.png
--------------------------------------------------------------------------------
/tests/compile.js:
--------------------------------------------------------------------------------
1 | const clevis = require("./clevis.js")
2 | for(let c in clevis.contracts){
3 | clevis.compile(clevis.contracts[c])
4 | }
5 |
--------------------------------------------------------------------------------
/tests/deploy.js:
--------------------------------------------------------------------------------
1 | const clevis = require("./clevis.js")
2 | for(let c in clevis.contracts){
3 | clevis.deploy(clevis.contracts[c],3)
4 | }
5 |
--------------------------------------------------------------------------------
/demosite/trash-site-top-image.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EthereumOpenSubscriptions/reference-client/HEAD/demosite/trash-site-top-image.jpg
--------------------------------------------------------------------------------
/grants/src/assets/img/logo-icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EthereumOpenSubscriptions/reference-client/HEAD/grants/src/assets/img/logo-icon.png
--------------------------------------------------------------------------------
/grants/src/assets/img/particles.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EthereumOpenSubscriptions/reference-client/HEAD/grants/src/assets/img/particles.png
--------------------------------------------------------------------------------
/grants/src/assets/img/back-arrow.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EthereumOpenSubscriptions/reference-client/HEAD/grants/src/assets/img/back-arrow.png
--------------------------------------------------------------------------------
/WasteCoin/arguments.js:
--------------------------------------------------------------------------------
1 | /*
2 | Example of passing in a string to the constructor:
3 | module.exports = ["hello world"]
4 | */
5 |
6 | module.exports = []
7 |
--------------------------------------------------------------------------------
/backend/devDatabase.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | docker rm -f grants-dev-mysql
3 | docker run --name grants-dev-mysql -e MYSQL_ROOT_PASSWORD=test -p 3306:3306 -d mysql
4 |
--------------------------------------------------------------------------------
/demosite/trash-site-bottom-image-left.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EthereumOpenSubscriptions/reference-client/HEAD/demosite/trash-site-bottom-image-left.jpg
--------------------------------------------------------------------------------
/demosite/trash-site-bottom-image-right.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EthereumOpenSubscriptions/reference-client/HEAD/demosite/trash-site-bottom-image-right.jpg
--------------------------------------------------------------------------------
/TokenExampleSubscriptionToken/arguments.js:
--------------------------------------------------------------------------------
1 | /*
2 | Example of passing in a string to the constructor:
3 | module.exports = ["hello world"]
4 | */
5 |
6 | module.exports = []
7 |
--------------------------------------------------------------------------------
/docker/run.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | ## ---- No Network means use local ganache-cli
3 | docker run -ti --rm --name metatxrelay -p 3000:3000 -p 8545:8545 -v ${PWD}/../backend:/backend metatxrelay
4 |
--------------------------------------------------------------------------------
/backend/redis.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | docker rm -f token-subscriber-redis
3 | docker run --name token-subscriber-redis -v ${PWD}/redisdata:/data -p 57300:6379 -d redis redis-server --appendonly yes
4 |
--------------------------------------------------------------------------------
/docker/attach.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 |
3 | #THIS ONLY WORKS ON THE MAINNET NEED TO USE DIFFERENT FOLDER FOR TESTNETS
4 | docker exec -ti metatxrelay bash ic "sudo geth attach --datadir '/root/.ethereum'"
5 |
--------------------------------------------------------------------------------
/src/index.js:
--------------------------------------------------------------------------------
1 | import React from 'react';
2 | import ReactDOM from 'react-dom';
3 | import './index.css';
4 | import App from './App';
5 | ReactDOM.render(
{props.pitch}
36 |39 | 40 |
41 |Recurring Ethereum funding via token subscriptions powered by meta transactions
41 |Create A Grant Fund A Grant
42 |Disclaimer: We built this in a weekend!
44 |You should inspect our smart contract before using.
45 |100% free and open source! Please contribute!
46 |UPDATE! Contract Audited!
47 |{contractAddress} {deployed}
38 |Follow the instructions below to share your subscription
39 |Add a link to your website:
41 |{"Subscribe Now"}
42 | Share Url:
43 |{url}
44 | QR Code:
45 |Embed a script on your website:
47 |{""}
48 | {contractAddress}
Follow the instructions below to share your subscription
59 |Add a link to your website:
61 |{"Subscribe Now"}
62 | Share Url:
63 |{url}
64 | QR Code:
65 |Embed a script on your website:
67 |{"\n"}
68 | First in the industry to offer waste disposal services for a Crypto Token.
30 |Waste Removal for your Business
40 |Waste Removal for your Home
46 |The address that will receive the funding tokens.
120 |Your short elevator pitch.
154 |Deploy the grant contract.
175 |(Markdown)
182 |A longer, more detailed description can be written in Markdown.
200 |Amount in (USD) you would like to receive each month.
210 |Expected duration you would like to receive funding.
220 |Your full name.
230 |A valid email address.
240 |
307 |
308 | )
309 | }
310 |
311 | return (
312 |