New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More

everwave-cli

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

everwave-cli

Everwave CLI

  • 0.4.2
  • unpublished
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created

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

# Update minter manager
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

# Mint a single artist token
yarn cli artist-create -e mainnet-beta \
  -k keypairs/fee-payer.json \
  --manager-k-p keypairs/admin.json \
  --minter-k 5PuBkbHS1uiaudcTnKysFGYezTReL8HwtX1rLdCrTVG \
  --user-k 8REGYLerbkrwCYvsYcjciEzJxMyPKvQx4w9tApXFp4Da

# Mint many artist tokens
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

# List an NFT for sale at 100$WVE
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

# List an NFT for sale at 1$SOL
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

# Cancel sale
yarn cli sale-cancel -e mainnet-beta \
  -k keypairs/fee-payer.json \
  --user-k-p keypairs/seller.json \
  --mint-k NFT_MINT_ADDRESS

# Buy the NFT at listed SOL/WVE price
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

# List an NFT for auction at min 1$SOL
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

# Cancel auction
yarn cli auction-cancel -e mainnet-beta \
  -k keypairs/fee-payer.json \
  --user-k-p keypairs/auctioneer.json \
  --mint-k NFT_MINT_ADDRESS

# Place a bid
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

# Claim for ended auction
yarn cli auction-claim -e mainnet-beta \
  -k keypairs/fee-payer.json \
  --user-k-p keypairs/bidder.json \
  --mint-k NFT_MINT_ADDRESS

FAQs

Package last updated on 08 Nov 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts