Winter - Sell NFTs via credit card
  • Get started
    • Get Started
      • Project Testing
      • Push to Production
    • Marketplaces
    • How do I get paid?
    • Payment methods & locations
      • Foreign Currencies
      • Apple Pay
    • Whitelists/Allowlists
  • Marketplace integrations
    • Intro
    • Implementation strategy
      • Directly with smart contracts
      • Aggregation APIs
      • APIs to build a transaction
      • Build and submit a transaction
  • Primary Mint Smart Contracts
    • 🚨Requirements
    • ETH, Polygon, and EVM
      • Multi-contract
      • Drop types we support
    • Solana
    • Crypto pricing
  • Front End Integration
    • Customization
    • Pre-fill (email, wallet, etc)
    • React
    • React (Marketplace)
    • Plain HTML
    • Post-purchase
    • CSS customization
  • Platform API
    • Intro (read this first!)
    • testmode -> livemode
    • /createProject
    • /updateProject
    • /deleteProject
    • /updateWhitelist
    • /getProjects
  • Wallet API Docs
    • Intro
    • /getNFTs
    • /transferNFT
  • NFT Claim API
    • Intro
    • /mintNFT
    • /mintFreeNFT
    • /transferNFT
  • Cross-chain payments
    • Intro
    • Integration
Powered by GitBook
On this page
  • Classic Winter: Hardcoded pricing
  • Optional: Dynamic pricing
  1. Primary Mint Smart Contracts

Crypto pricing

Please make all testnet pricing 0.001 or under

Classic Winter: Hardcoded pricing

A typical Winter flow takes a hardcoded mint price:

  • You tell Winter the cost per mint during project setup

  • Your smart contract asserts that hardcoded cost in the mint function

  • In this case, we do not require your contract to have a price function.

Needs to be 0.001 or under on testnet

Optional: Dynamic pricing

Winter also supports dynamic mint prices set on your contract! If you want to change the price of a mint during the live, Winter will need the following:

  • Your smart contract contains a method that Winter can call to get the current price of an NFT, e.g. mintPrice()

During setup, you'll tell Winter the name of your price function, e.g. mintPrice. That's it! During checkout, Winter will call that function to get the cost per mint.

Once your project is live, you can update the mint price on your smart contract and rest assured that the new price is reflected on Winter.

Please make the price 0.001 or under on testnet

PreviousSolanaNextCustomization

Last updated 2 years ago