-
Notifications
You must be signed in to change notification settings - Fork 72
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix
metadata.json
labels + Improve Dapp page (#175)
* Migrate `metadata.json` to `<contract-name>.json` * Improve Dapp page
- Loading branch information
Showing
13 changed files
with
103 additions
and
80 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,37 @@ | ||
--- | ||
title: Dapps | ||
slug: /examples/dapps | ||
hide_title: true | ||
--- | ||
|
||
Check out link! – a URL shortener DApp. It consists of a frontend and an ink! contract. | ||
You can view an online demo of the Dapp here: https://tiny.ink. | ||
<img src="/img/title/balloons-2.svg" className="titlePic" /> | ||
|
||
# Dapps | ||
|
||
We'll point to a couple full-stack Dapp examples here. | ||
These can serve as inspiration for how to create a frontend for your | ||
smart contract. | ||
|
||
Two popular libraries for building frontends are: | ||
|
||
* [`polkadot-js/api`](https://github.com/polkadot-js/api) a low-level TypeScript API. | ||
* [useInkathon](https://github.com/scio-labs/use-inkathon) a React hooks library. | ||
|
||
## INK!athon | ||
|
||
INK!athon is a f full-stack dApp boilerplate project consisting of | ||
an ink! smart contract and a React frontend using the | ||
[useInkathon](https://github.com/scio-labs/use-inkathon) hooks library. | ||
|
||
## link! | ||
|
||
link! is a URL shortener DApp. It consists of a frontend and an ink! contract. | ||
|
||
link! uses [`polkadot-js/api`](https://github.com/polkadot-js/api) under the hood. | ||
The entire source code (contract + frontend) is located here: | ||
[https://github.com/paritytech/link](https://github.com/paritytech/link). | ||
|
||
You can view an online demo of the Dapp here: [https://tiny.ink](https://tiny.ink). | ||
|
||
To create new short links you need `ROC` tokens from our testnet. | ||
See [here](/testnet) for how to get those. | ||
|
||
The repository is located here: [https://github.com/paritytech/link](https://github.com/paritytech/link). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.