示例#1
0

if __name__ == "__main__":
    password = "******"
    unlock(password)
    accounts = getAccounts()

    def run(i):
        print(
            pushaction("grandpacoins", "mine", [i, "4,BTC", "gy2dgmztgqge"],
                       i))
        print(
            pushaction("grandpacoins", "mine", [i, "4,ETH", "gy2dgmztgqge"],
                       i))
        print(
            pushaction("grandpacoins", "mine", [i, "4,DOGE", "gy2dgmztgqge"],
                       i))
        # print(pushaction("eosenbpocket", "signup", [i, "1000.0001 ENB", i], i))
        # t = pushaction("eoscubetoken", "signup", [i, "0.0000 CUBE"], i)
        # print(t)

        # t = pushaction("eosindiegame", "claim", [i, "100.0000 IGC"], i)
        # if b"you have already signed up" not in t:
        #     print(t)
        # if b"has insufficient ram" in t:
        #     buyram("gy2dgmztgqge", i, 2)
        #     print(pushaction("eosindiegame", "claim", ["100.0000 IGC", i], i))

    runPool(run, accounts)
    # run("gy2dgmztgqge")
示例#2
0
from ut import runPool
from transferBalance import transferEos
import string, random


def genrateRandomName():
    return "".join(random.choices(string.ascii_lowercase, k=10))


def run(a):
    print(
        transferEos(
            "gy2dgmztgqge",
            "hotbetsadmin",
            0.2,
            f"hotdice|gaojin.game|96|{genrateRandomName()}|",
        )
    )


if __name__ == "__main__":
    while True:
        runPool(run, range(1000 * 8))
示例#3
0
from ut import runPool
from transferBalance import transferEos, tranferKar, tranferEUSD
import random
import string


def genrateRandomName():
    return "".join(random.choices(string.ascii_lowercase, k=12))


def run(a):
    memo = f"action:bet,seed:{genrateRandomName()},rollUnder:96,ref:bbheasxtlatd"
    f = "gy2dgmztgqge"
    t = "betdiceadmin"
    print(tranferEUSD(f, t, 10, memo))


if __name__ == "__main__":
    x = range(10000)
    runPool(run, x)
示例#4
0
        ],
        [
            "findexfindex",
            "buyorder",
            {
                "r_buy_order": {
                    "buyer": "gy2dgmztgqge",
                    "pair_id": "89",
                    "quote_quantity": qq1,
                    "maximum_price": "1000000",
                    "remark": "bitpie4users",
                }
            },
            "gy2dgmztgqge",
        ],
    ]
    print(push_transaction(actions))


def run(a):
    sell(101)
    buy(1.01, 101)


if __name__ == "__main__":
    while True:
        runPool(run, [0 for i in range(1000)])
    # while True:
    # sell(101)
    # buy(1.01, 101)