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
<script src="dsteem.js"></script> | |
Account: | |
<input type="text" id="account" value="edicted"><br> | |
Key: | |
<input type="password" id="key_string" | |
value=''><br> | |
<input type="button" id="escrow_transaction_button" | |
value='Escrow Transaction Button'> | |
<br> |
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
let client | |
let block_stream | |
let blocks_imported = 0 | |
let games = [] | |
let current_game | |
let version | |
let steem_posting_key | |
let steem_active_key | |
let steem_login |
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
/// skins: avatar, skill_prep, skill_fire, skill_combo, selection_screen | |
/// always put active player on left to avoid UX variance. | |
let client = new dsteem.Client('https://api.steemit.com') | |
let block_stream | |
let blocks_imported = 0 | |
let games = [] | |
let current_game | |
let version | |
let steem_login | |
let key |
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
<!DOCTYPE html> | |
<html> | |
<body> | |
<h1 id="header"> Block, Paper, Scissors </h1> | |
<select id="menu"> | |
<option value="mage">Mage</option> | |
<option value="melee">Melee</option> | |
<option value="yolo">YOLO</option> |
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
<script src="https://unpkg.com/dsteem@^0.10.0/dist/dsteem.js"></script> | |
<br><button id="on"> On </button><br> | |
<br><button id="pause"> Pause </button><br> | |
<br><button id="resume"> Resume </button><br> | |
<h1>Output:</h1> | |
<p id='output'></p> | |
<script> |
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
/* | |
* Dependency: | |
* <script src="https://unpkg.com/dsteem@^0.8.0/dist/dsteem.js"></script> | |
* Return block from dsteem API given the date/time of the block. | |
* Uses a block anchor (known value) to extrapolate data. | |
* dateTime string example: "2018-10-03T00:32:45" | |
* Overloaded to accept integer block_num. | |
*/ | |
var client = new dsteem.Client('https://api.steemit.com') | |
var BLOCKS_PER_SECOND = 3 |
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
<!-- | |
DiscussionQueryCategory: | |
"active" | "blog" | "cashout" | |
| "children" | "comments" | "feed" | "hot" | "promoted" | |
| "trending" | "votes" | "created" | |
The 'children' category gives higher priority to posts with more comments. | |
The 'votes' category gives higher priority to posts with more votes. | |
'feed' and 'blog' require the tag string to be a username. |
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
<h1> Steem Curation Tracker </h1> | |
Author: | |
<input type="text" id="author" value="edicted"><br> | |
Permlink | |
<input type="text" id="permlink" | |
value="icos-and-smts-are-only-a-short-term-solution"><br> | |
<button id="track"> Track! </button><br> | |
<p id="body"> Dissect Discussion! </p> |
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
<!DOCTYPE html> | |
<html> | |
<body> | |
<h1 id="header"> Steem Login </h1> | |
<form> | |
Username@ | |
<input type="text" id="username" value="smartasscards"><br> | |
Posting key: |