View createAccAndFT.json
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
{ | |
"scripts": [ | |
{ | |
"name": "createAccAndFT", | |
"commands": [ | |
"network use testnet", | |
"account create -a random", | |
"token create-ft -n m -s mm -d 2 -i 1000 -a 302e020100300506032b6570042204202a6568253a539643468dda3128a734c9fcb07a927b3f742719a869db731f9f50 -t 0.0.4536940 -k 302e020100300506032b6570042204202a6568253a539643468dda3128a734c9fcb07a927b3f742719a869db731f9f50" | |
] | |
}, |
View .env
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
OPERATOR_ID= | |
OPERATOR_PVKEY= |
View token-admin-update-supply.js
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
console.clear(); | |
require("dotenv").config(); | |
const { | |
AccountId, | |
PrivateKey, | |
Client, | |
TokenCreateTransaction, | |
TokenUpdateTransaction, | |
TokenType, |
View HIP412-1.0.0.json
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
{ | |
"$schema": "http://json-schema.org/draft-07/schema#", | |
"type": "object", | |
"version": "1.0.0", | |
"additionalProperties": false, | |
"properties": { | |
"name": { | |
"type": "string", | |
"description": "Identifies the asset to which this token represents." | |
}, |
View utils.js
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
const { | |
TokenCreateTransaction, | |
Hbar, | |
AccountCreateTransaction, | |
PrivateKey | |
} = require("@hashgraph/sdk"); | |
/* | |
* @return {AccountId} accountId | |
*/ |
View books.json
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
[ | |
{ | |
"id": "1", | |
"title": "Harry Potter and the Half-Blood Prince", | |
"author": "J.K. Rowling/Mary GrandPré", | |
"cover": "hard cover with dust jacket", | |
"language": "eng", | |
"publisher": "Scholastic Inc.", | |
"details": { | |
"isbn": "0439785960", |
View post.go
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
package main | |
import ( | |
"log" | |
"net/http" | |
"io/ioutil" | |
) | |
func postRoute(rw http.ResponseWriter, req *http.Request) { | |
body, err := ioutil.ReadAll(req.Body) |
View books.json
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
[ | |
{ | |
"id": "1", | |
"title": "Harry Potter and the Half-Blood Prince", | |
"author": "J.K. Rowling/Mary GrandPré", | |
"cover": "hard cover with dust jacket", | |
"language": "eng", | |
"publisher": "Scholastic Inc.", | |
"details": { | |
"isbn": "0439785960", |
View books.json
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
[{"id":"1","title":"Harry Potter and the Half-Blood Prince","author":"J.K. Rowling/Mary GrandPré","cover":"hard cover with dust jacket","language":"eng","publisher":"Scholastic Inc.","details":{"isbn":"0439785960","rating":"4.57","pages":"652"}},{"id":"2","title":"Harry Potter and the Order of the Phoenix","author":"J.K. Rowling/Mary GrandPré","cover":"hard cover with dust jacket","language":"eng","publisher":"Scholastic Inc.","details":{"isbn":"0439358078","rating":"4.49","pages":"870"}},{"id":"4","title":"Harry Potter and the Chamber of Secrets","author":"J.K. Rowling","cover":"soft cover","language":"eng","publisher":"Scholastic","details":{"isbn":"0439554896","rating":"4.42","pages":"352"}},{"id":"5","title":"Harry Potter and the Prisoner of Azkaban","author":"J.K. Rowling/Mary GrandPré","cover":"hard cover with dust jacket","language":"eng","publisher":"Scholastic Inc.","details":{"isbn":"043965548X","rating":"4.56","pages":"435"}},{"id":"13","title":"The Ultimate Hitchhiker's Guide to the Galaxy (Hitchh |
View blogs.json
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
[{"id":"0","source_name":"Reuters","author":"Reuters Editorial","title":"NTSB says Autopilot engaged in 2018 California Tesla crash","description":"The National Transportation Safety Board said Tuesday a Tesla Model S was in Autopilot mode when it struck a fire truck in Culver City, California -- one of a series of crashes the board is investigating involving Tesla's driver assistance system.","url":"https://www.reuters.com/article/us-tesla-crash-idUSKCN1VO22E","image":"https://s4.reutersmedia.net/resources/r/?m=02&d=20190903&t=2&i=1425817142&w=1200&r=LYNXNPEF821HS","published":"2019-09-03T16:22:20Z","publication_year":2019,"content":"WASHINGTON (Reuters) - The National Transportation Safety Board said Tuesday a Tesla Model S was in Autopilot mode when it struck a fire truck in Culver City, California one of a series of crashes the board is investigating involving Tesla’s driver assistance… [+478 chars]"},{"id":"1","source_name":"The Irish Times","author":"Eoin Burke-Kennedy","title":"Unemployment falls to po |
NewerOlder