Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion guides/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,12 +83,19 @@ const provider = new Provider({

await provider.init()

// ERC20 class: encapsulates logic for any ERC20 token
// erc20CurrencyFacade: Generate Erc20 Currency class, that encapsulates params like contract address for an ERC 20
// TetherCurrency.ERC20(): Erc20 USDT mainnet configuration:
const USDT = new ERC20({
currency: erc20CurrencyFac(TetherCurrency.ERC20())
})

const ethPay = new EthPay({
asset_name: 'eth',
provider,
network : 'sepolia'
token: [
TetherCurrency.ERC20()
USDT
]
})

Expand Down