Supported Currencies

AkashicPay currently supports three Networks/Chains: Ethereum, Tron and BNB Smart Chain (BSC). Support for other blockchains such as Bitcoin is planned for the near future.

Note that whenever a network parameter is required in the SDK, this specifies the blockchain the transaction uses (e.g. Ethereum, Tron or BSC). Which currency (ETH, USDT-ERC20, TRX, USDT-TRC20, BNB, BSC-USD-BEP20) is transacted is decided by the token parameter - which is left out (null or undefined or similar) for native transactions. See below for more detail and examples.

Tron

On the Tron network, AkashicPay supports transactions involving native coins (TRX) and the Tether stablecoin token (USDT-TRC20). Below are examples of doing payouts in the two currencies using the SDK. All other functions that accept network and token parameters work in the same way.

TRX

const { l2Hash } = await akashicPay.payout(
  "user123",
  "TTVkK6hGoAFhALG9NTkUDHjcFFXKmWcScU",
  "100",
  NetworkSymbol.Tron
);

USDT (TRC20)

const { l2Hash } = await akashicPay.payout(
  "user123",
  "TTVkK6hGoAFhALG9NTkUDHjcFFXKmWcScU",
  "100",
  NetworkSymbol.Tron,
  TokenSymbol.USDT // Note the token here
);

Ethereum

Similarly to Tron, AkashicPay supports transactions involving native coins (ETH), the Tether stablecoin token (USDT-ERC20) and the Circle stablecoin token (USDC-ERC20). Below are examples of doing payouts in the two currencies using the SDK. All other functions that accept network and token parameters work in the same way.

ETH

USDT (ERC20)

USDC (ERC20)

BNB Smart Chain (BSC)

BNB

USDT (BSC-USD)

USDC (BSC-USD)

Testnets

For testing purposes, e.g. on a develop or staging environment, AkashicPay supports testnets associated with each mainnet. For Ethereum, the associated testnet is called "Sepolia", for Tron the testnet is "Shasta", while for BNB Smart Chain (BSC) the testnet is "BNB Smart Chain Testnet".

All functionality is identical to performing operations on the mainnets, but you would replace the "NetworkSymbols" in the code to:

Note: USDT is also supported on SEP and Shasta testnets (USDT-TRC20 and USDT-ERC20). No change is needed from how they are used on the mainnets. I.e. keep using TokenSymbol.USDT for JS/TS and similarly for other languages.

USDC is supported on SEP and BNB-Testnet. Use TokenSymbol.USDC and similar for other languages.

Last updated

Was this helpful?