Skip to content

Instantly share code, notes, and snippets.

@thechiaplot
thechiaplot / TxMojos.py
Created November 3, 2021 16:27
TxMojos.py
import asyncio
import os
import sys
import sqlite3
import pathlib
import random
from chia.consensus.default_constants import DEFAULT_CONSTANTS as constants
from blspy import AugSchemeMPL
from chia.types.coin_spend import CoinSpend
from chia.types.condition_opcodes import ConditionOpcode
@thechiaplot
thechiaplot / createmojos.py
Created November 3, 2021 16:26
CreateMojos.py
import random
import os
import asyncio
import math
import sys
import sqlite3
import traceback
from chia.cmds.wallet_funcs import execute_with_wallet
from chia.rpc.full_node_rpc_client import FullNodeRpcClient