Usage
Installation, quick start, and usage examples for @tetherto/wdk-protocol-bridge-usdt0-evm
Installation
npm install @tetherto/wdk-protocol-bridge-usdt0-evmQuick Start
Setting Up a Bridge Protocol
import Usdt0ProtocolEvm from '@tetherto/wdk-protocol-bridge-usdt0-evm'
import { WalletAccountEvm } from '@tetherto/wdk-wallet-evm'
// Create a wallet account first
const account = new WalletAccountEvm(seedPhrase, {
provider: 'https://rpc.mevblocker.io/fast'
})
// Create bridge protocol instance
const bridgeProtocol = new Usdt0ProtocolEvm(account, {
bridgeMaxFee: 1000000000000000n // Optional: Maximum bridge fee in wei
})
