Everwave CLI
DAO
Create a realm
yarn cli realm-create -e mainnet-beta \
-k keypairs/fee-payer.json \
--admin-k-p keypairs/admin.json \
--realm-k-p keypairs/realm.json \
--gov-mint-k 33MJjPS6H7P2nwD648uiTiUu8v5fJ1zKyjnVqeWZ344F
Create a minter
yarn cli minter-create -e mainnet-beta \
-k keypairs/fee-payer.json \
--admin-k-p keypairs/admin.json \
--minter-k-p keypairs/minter.json \
--realm-k CjhUusBtZK8mG6u5pBtinsQ4nA4Yk8Vej1LpQEFGAf8Q \
--pf-mint-k FY3aP7uSWvzMwq6RsgKyCFhqiVYSiu3EVM3wEgHBje8Z \
--decimals 0 \
--manager-k BPazV58wYV1wc8L8dms9gCgFCgrtsYVGDrAoKfUsbWc2 \
--allowance 100000
yarn cli minter-manager-update -e mainnet-beta \
-k keypairs/fee-payer.json \
--admin-k-p keypairs/admin.json \
--realm-k CjhUusBtZK8mG6u5pBtinsQ4nA4Yk8Vej1LpQEFGAf8Q \
--minter-k 5PuBkbHS1uiaudcTnKysFGYezTReL8HwtX1rLdCrTVG \
--manager-k BPazV58wYV1wc8L8dms9gCgFCgrtsYVGDrAoKfUsbWc2
Mint artist tokens
yarn cli artist-create -e mainnet-beta \
-k keypairs/fee-payer.json \
--manager-k-p keypairs/admin.json \
--minter-k 5PuBkbHS1uiaudcTnKysFGYezTReL8HwtX1rLdCrTVG \
--user-k 8REGYLerbkrwCYvsYcjciEzJxMyPKvQx4w9tApXFp4Da
yarn cli artist-create-many -e mainnet-beta \
-k keypairs/fee-payer.json \
--manager-k-p keypairs/admin.json \
--minter-k 5PuBkbHS1uiaudcTnKysFGYezTReL8HwtX1rLdCrTVG \
--artists fixtures/artists.json
Mint
Collection
yarn cli collection-create -e mainnet-beta \
-k keypairs/fee-payer.json \
--admin-k-p keypairs/admin.json \
--collection-mint-k-p keypairs/collection-mint.json \
--realm-k CjhUusBtZK8mG6u5pBtinsQ4nA4Yk8Vej1LpQEFGAf8Q \
--name "Everwave NFTs" \
--symbol "WVE NFT" \
--uri METADATA_URI \
--wallets fixtures/minters.json
NFT
yarn cli nft-create -e mainnet-beta \
-k keypairs/fee-payer.json \
--fanout-k FANOUT_KEY \
--collection-k COLLECTION_KEY \
--realm-k CjhUusBtZK8mG6u5pBtinsQ4nA4Yk8Vej1LpQEFGAf8Q \
--seller-fee-bps 0.02 \
--max-supply 0 \
--name "Everwave Wave#1" \
--symbol "WVE NFT" \
--uri METADATA_URI \
--creators fixtures/creators.json \
--wallets fixtures/minters.json
Fanout
yarn cli fanout-verify -e mainnet-beta \
-k keypairs/fee-payer.json \
--authority-k-p keypairs/authority.json \
--fanout-k FANOUT_KEY \
--mint-k NFT_MINT_KEY
Marketplace
Direct sale
yarn cli sale-create -e mainnet-beta \
-k keypairs/fee-payer.json \
--user-k-p keypairs/seller.json \
--mint-k NFT_MINT_ADDRESS \
--payment-mint-k 33MJjPS6H7P2nwD648uiTiUu8v5fJ1zKyjnVqeWZ344F \
--ask-amount 100
yarn cli sale-create -e mainnet-beta \
-k keypairs/fee-payer.json \
--user-k-p keypairs/seller.json \
--mint-k NFT_MINT_ADDRESS \
--payment-mint-k So11111111111111111111111111111111111111112 \
--ask-amount 1
yarn cli sale-cancel -e mainnet-beta \
-k keypairs/fee-payer.json \
--user-k-p keypairs/seller.json \
--mint-k NFT_MINT_ADDRESS
yarn cli sale-execute -e mainnet-beta \
-k keypairs/fee-payer.json \
--user-k-p keypairs/buyer.json \
--mint-k NFT_MINT_ADDRESS
Auction sale
yarn cli auction-create -e mainnet-beta \
-k keypairs/fee-payer.json \
--user-k-p keypairs/auctioneer.json \
--mint-k NFT_MINT_ADDRESS \
--payment-mint-k So11111111111111111111111111111111111111112 \
--ask-amount 1 \
--end-date 2022-10-14T00:00:00Z
yarn cli auction-cancel -e mainnet-beta \
-k keypairs/fee-payer.json \
--user-k-p keypairs/auctioneer.json \
--mint-k NFT_MINT_ADDRESS
yarn cli auction-bid -e mainnet-beta \
-k keypairs/fee-payer.json \
--user-k-p keypairs/bidder.json \
--mint-k NFT_MINT_ADDRESS \
--amount 2
yarn cli auction-claim -e mainnet-beta \
-k keypairs/fee-payer.json \
--user-k-p keypairs/bidder.json \
--mint-k NFT_MINT_ADDRESS