├── .gitignore
├── LICENSE
├── README.md
├── images
├── favicon.ico
├── spinner.gif
└── sponsor.png
├── index.html
├── now.json
├── s
└── index.html
└── scripts
└── app.js
/.gitignore:
--------------------------------------------------------------------------------
1 | .DS_Store
2 |
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | MIT License
2 |
3 | Copyright (c) 2018 Saurav Tomar
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # Ethereum URL Shortener
2 |
3 | Made using [EthersJS library](https://ethers.io)
4 |
5 | [How it works](https://medium.com/coinmonks/making-a-url-shortener-on-ethereum-blockchain-5947e52fd3a3)
6 |
7 | [smart contract source code](https://ethfiddle.com/xR5sZrU10t)
8 |
--------------------------------------------------------------------------------
/images/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sauravtom/ethereum-url-shortener/4a1c410660f3b9594cfaa6edace8cfb12f164321/images/favicon.ico
--------------------------------------------------------------------------------
/images/spinner.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sauravtom/ethereum-url-shortener/4a1c410660f3b9594cfaa6edace8cfb12f164321/images/spinner.gif
--------------------------------------------------------------------------------
/images/sponsor.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sauravtom/ethereum-url-shortener/4a1c410660f3b9594cfaa6edace8cfb12f164321/images/sponsor.png
--------------------------------------------------------------------------------
/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
Please enable METAMASK(ropsten network) to continue. Metamask is used to generate and store short urls on the ethereum blockchian, you may continue to use the shortened urls without Metamask. Eg 0x.now.sh/s?id=23
97 |
98 |
99 |
100 |
101 |
102 |
103 |
104 |
105 |
106 |
Metamask -> Ropsten
107 |
108 |
109 |
110 |
Please switch Metamask to Ropsten network to proceed