🏃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

Visit list of supported tokens and blockchains for more details.

Last updated