3mint
  • 👋Welcome to 3mint
  • 💻3mint Platform
    • Introduction
    • Deploy a contract
    • Upload your NFT data
    • Create checkout links
    • Add customers
    • Monitor your links
  • ⌨️Developer Guides
    • Introduction
    • Contracts
      • Contract Architecture
      • End-to-end Example
    • Mint
      • How To
      • End-to-end Example
      • Code Snippets
    • Wallets
      • End-to-end Example
      • Mobile Pass
        • Creating Passes
    • Token Gating
      • End-to-end Example
      • Code Snippets
  • 📖API Reference
    • Overview
    • Contracts
      • Deploy Contract
      • Get Contract
    • Collectibles
      • Get All Templates
      • Mint Collectible
    • Wallets
      • Create Wallet
      • Get Wallet
    • Customers
      • Create Customer
      • Get Customer
      • Delete Customer
    • Claim Links
      • Create Link
      • Update Link
    • Token Gating
      • Create Gate
  • ❓FAQ
    • Web3 101
    • Platform
Powered by GitBook
On this page
  1. API Reference
  2. Contracts

Deploy Contract

PreviousContractsNextGet Contract

Last updated 2 years ago

Create and deploy a contract (ERC20, ERC721, ERC1155 or equivalent) to the chain and network of choice.

📖
post
Authorizations
Body
contractTypestring · enumRequiredExample: erc1155Possible values:
namestringRequiredExample: My Contract
symbolstring · min: 1 · max: 7RequiredExample: 1
descriptionstringOptionalExample: My Contract Description
chainstring · enumRequiredExample: ethereumPossible values:
networkstring · enumRequiredExample: mainnetPossible values:
uploadLocationstring · enumOptional

The location where metadata will be stored

Default: AWSExample: AWSPossible values:
filestring · binaryOptional
Responses
201
The contract has been successfully created.
post
POST /v1/contract HTTP/1.1
Host: 
x-api-key: YOUR_API_KEY
Content-Type: multipart/form-data
Accept: */*
Content-Length: 176

{
  "contractType": "erc1155",
  "name": "My Contract",
  "symbol": 1,
  "description": "My Contract Description",
  "chain": "ethereum",
  "network": "mainnet",
  "uploadLocation": "AWS",
  "file": "binary"
}
201

The contract has been successfully created.

No content