My
Leaderboard
| Rank | 43 |Name | 44 |Message | 45 |Value | 46 |
|---|---|---|---|
| 51 | | 52 | 53 | | 54 | |
├── images ├── logo.png ├── website.png └── logo-black.png ├── LICENSE.md ├── js ├── helpers │ ├── updateBalanceHTML.js │ ├── updateAddressHTML.js │ └── updateLeaderboardHTML.js ├── index.js ├── send.js └── bootstrap.min.js ├── README.md ├── css ├── send.css ├── style.css └── bootstrap.min.css ├── index.html └── send.html /images/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/domschiener/leaderboard-example/HEAD/images/logo.png -------------------------------------------------------------------------------- /images/website.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/domschiener/leaderboard-example/HEAD/images/website.png -------------------------------------------------------------------------------- /images/logo-black.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/domschiener/leaderboard-example/HEAD/images/logo-black.png -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- 1 | Copyright (c) 2016 by Antonija Šimić (http://codepen.io/tonkec/pen/gryZmg) 2 | 3 | Copyright (c) 2016 by Dominik Schiener -------------------------------------------------------------------------------- /js/helpers/updateBalanceHTML.js: -------------------------------------------------------------------------------- 1 | // 2 | // Updates the balance shown on the page 3 | // 4 | function updateBalanceHTML(balance) { 5 | $("#iota__balance").html(balance); 6 | } 7 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 |  2 | 3 | --- 4 | 5 | # IOTA Leaderboard: Micropayments and Messaging Example 6 | 7 | ### IOTA Proof of Concept Application example with tutorial. Please head to the [IOTA Learn Tutorial](https://learn.iota.org/tutorial/payments-and-messaging-leaderboard) for more information. 8 | 9 | 10 | -------------------------------------------------------------------------------- /js/helpers/updateAddressHTML.js: -------------------------------------------------------------------------------- 1 | // 2 | // Updates the address on the sidebar to the latest one 3 | // 4 | function updateAddressHTML(address) { 5 | 6 | if (!address) 7 | return 8 | 9 | var html = '
My
Leaderboard
| Rank | 43 |Name | 44 |Message | 45 |Value | 46 |
|---|---|---|---|
| 51 | | 52 | 53 | | 54 | |
My
Leaderboard
Send Message
43 |
Balance: 0
Doing Proof of Work. Please be patient!
101 |While waiting, you can read more about the IOTA API here. Or you can read our Blog on Medium. Always useful to know this stuff.
104 |