Resmic
  • Resmic SDK
    • 👋Introduction
      • ðŸŠķOverview
    • ðŸ’ŦGetting Started
      • 🏃Installation
      • ðŸ‘ūUsage
        • CryptoPayment
        • For Starknet
        • For EVM
      • 📃Reference
    • 💁Support
      • ⛓ïļBlockchain
      • 🊙Tokens
      • 💰Wallets
    • 🊄Demo
      • Sample React app
    • 📰Whitepaper
      • Github
    • 🛂Contact
  • Resmic Pro
    • Introduction to Resmic Pro
    • Getting Started
    • API Authentications & Security
    • Payment Integration
    • Order Status
    • Transaction Details
    • Webhooks & Notifications
    • Supported Chains & Tokens
    • iFrame
    • Demo
      • Sample React app
    • Failed Transactions & Stuck Payments
    • Contact
  • Quick Payments
    • 🔗Quick Links
      • âœĻGetting Started
      • ðŸĪSharing Quick Links
      • 🚧Errors
    • Invocie
Powered by GitBook
On this page
  1. Resmic SDK
  2. Getting Started

Installation

Component installation

Install Resmic from NPM


npm install resmic

The Gist


import {CryptoPayment, Tokens, Chains} from 'resmic'

function App() {

  return (
      <div>
        <CryptoPayment 
             Address={{EVM:"YOUR_WALLET_ADDRESS", STARKNET:"YOUR_WALLET_ADDRESS"}} // Wallet Address to receive Funds.
             Chains={[ Chains.Ethereum, Chains.Polygon, Chains.Starknet, Chains.Sepolia ]}
             Tokens ={[Tokens.STARK, Tokens.ETH, Tokens.USDT ]} 
             Amount={100} // Amount in USD
        />
        
      </div>
  )
}

Important

PreviousGetting StartedNextUsage

Last updated 1 year ago

Visit list of tokens and blockchains for more details.

ðŸ’Ŧ
🏃
supported