USER_NAME=xxx PASSWORD=xxx go run main.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
module _1200_dollars_per_hour::my_module { | |
use _1200_dollars_per_hour::events::{Self, ListEvent, BuyEvent }; | |
public entry fun list() { | |
// ... | |
events::emit_list_event(0); | |
} | |
public entry fun buy() { | |
// ... | |
events::emit_buy_event(0); |
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 IOST = require("iost"); | |
import * as bs58 from "bs58"; | |
import { randomInt } from "crypto"; | |
const RPCS = [ | |
'https://api.iost.io', | |
'http://35.176.24.11:30001', | |
'http://18.209.137.246:30001', | |
'http://54.180.196.80:30001', | |
'http://iost.mytokenpocket.vip' |