Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/steppsr/makenftoffers
Two Powershell scripts to create offers for NFTs on the Chia Blockchain.
https://github.com/steppsr/makenftoffers
chia chia-blockchain nfts offers powershell
Last synced: 5 days ago
JSON representation
Two Powershell scripts to create offers for NFTs on the Chia Blockchain.
- Host: GitHub
- URL: https://github.com/steppsr/makenftoffers
- Owner: steppsr
- License: apache-2.0
- Created: 2024-11-02T05:14:25.000Z (6 days ago)
- Default Branch: main
- Last Pushed: 2024-11-02T05:47:18.000Z (6 days ago)
- Last Synced: 2024-11-02T06:19:41.340Z (6 days ago)
- Topics: chia, chia-blockchain, nfts, offers, powershell
- Language: PowerShell
- Homepage:
- Size: 15.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# MakeNFTOffers
Two Powershell scripts to create offers for NFTs on the Chia Blockchain.## How to use
1. First you'll need a file with all the Launcher IDs for your NFTs. You can create this file using the first script `get_launcherids.ps1`. The resulting file will contain a single line for each NFT with both the Launcher ID and the first URI for the NFT. I use the URI to determine which Launcher IDs I want to keep to make offers for since the script will pull IDs for every NFT in the wallet and you may not want to create offers for every NFT. You will need to edit the file once created to remove any NFTs you don't want to create offers for. You can leave the URI on the line, the next script will ignore it.
To run the script: `.\get_launcherids.ps1`
The script is interactive so will prompt you with any questions to answer before running.2. Then you will run the `make_offers.ps1` script and use the ID file you created in step 1.
Note that the price is based on mojos. For example if you want to price at 1 $XCH, you'll use 1000000000000.
If you want to use a CAT you'll need to times your value by 1000 to get the correct number of mojos, and you will also need the Wallet ID for the CAT. You can get this with the `chia wallet show -w cat` command.
So 35 $SBX would be 35000 for the amount.
I also recommend using 0 for the fee amount. If you use more than 0, the offer will tie up a coin in your wallet which you don't want.
To run the script: `.\make_offers.ps1`
The script is interactive so will prompt you with any questions to answer before running.