starsd
binary installed- Environment variable manager like dotenv
cp .env.example .env
and modify for your setup.
Download the latest WASM code from releases.
Alternatively, run 00-download.sh
.
./01-store.sh
Update .env
with code ids.
./02-init_mkt.sh
Update .env
with Marketplace address (MKT
).
./03-init_minter.sh
Update .env
with both the minter and collection addresses (MINTER
and COLLECTION
).
You can verify the correct addresses with the query helpers.
./query_col.sh
./query_minter.sh
Since the minter and collection addresses are output at the same time, it might be difficult to know which is which. Try one of them for MINTER
and perform the above queries. If they fail, switch around the minter and collection.
Marketplace has to be setup with the minter and collection addresses.
./04-exec_mkt_setup.sh
Verify it was setup correctly with:
./query_mkt.sh
You should see the minter and collection addresses.
./exec_mint.sh [name]
./exec_assoc.sh [name]
Reverse lookup:
./query_lookup.sh
Query name metadata:
./query_metadata.sh [name]
./exec_bid.sh [name] [price (in STARS)]
./exec_accept_bid.sh [name] [bidder] [price (in STARS)]
Instantiate as many whitelists as needed.
Pause minting, then add/remove whitelists as needed for the next wave. Then resume minting.
These scripts optionally work with a multisig admin.
Update env vars to support them:
ADMIN_MULTISIG=true
MULTISIG_NAME=admin
Now when you run the instantiate scripts, it'll use the admin
multisig address, and generate unsignedTx.json
and your signed version as $USER.json
. Please share $USER.json
with others in the multisig, and finally broadcast the tx with broadcast.sh [signed1.json] [signed2.json] [signed3.json]
.