Skip to content

Automatically creates a Chia wallet, Funds it from a wallet node and submits a NTF transaction. This is to pre-create accounts with NFT's intended for plotting with out waiting for a wallet to sync.

License

Notifications You must be signed in to change notification settings

DaOneLuna/auto-chia-wallet

Repository files navigation

Code style: black

auto-chia-wallet

Automatically creates a Chia wallet, Funds it from a wallet node and submits a NFT transaction. This is to pre-create accounts with NFT's intended for plotting without waiting for a wallet to sync.

How to use

Install

Using PIP

pip install git+https://github.com/DaOneLuna/auto-chia-wallet.git@main#egg=auto_chia_wallet

Run

  1. Generate a new config file with:
autowallet init
  1. Find the path to the config file with:
autowallet config
  1. Edit the config file to match your enviroment

For Details on the config see the default file at: https://github.com/DaOneLuna/auto-chia-wallet/blob/main/auto_chia_wallet/defaults/config.yaml

  1. Accounts can be generated with:
autowallet generate plotnft

By default the account info is printed to the console as well as saved to a json file with the format

"account" + {wallet.fingerprint} + ".json"

Commands

Init

Initializes a new config file

autowallet init

config

Prints the current config path

autowallet config

generate

Takes 1 parameter, either key or plotnft

key

will generate a new mnemonic and print it along with the first recieve address

autowallet generate key

plotnft

If passed -m the command will use an existing mnemonic, otherwise generates a mnemonic and funds it fromn a feed wallet. Generates a .json file.

If passed -f the feed wallet in the config.yaml will be used, otherwise the script will print the first recieve address and waits for coins to be sent. This can be done manually or by pasting the wallet address into a faucet.

autowallet generate plotnft

Version

Prints the current version

autowallet version

About

Automatically creates a Chia wallet, Funds it from a wallet node and submits a NTF transaction. This is to pre-create accounts with NFT's intended for plotting with out waiting for a wallet to sync.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages