diff --git a/src/components/tempo-transactions/tempo-transactions.js b/src/components/tempo-transactions/tempo-transactions.js new file mode 100644 index 00000000..37eafcec --- /dev/null +++ b/src/components/tempo-transactions/tempo-transactions.js @@ -0,0 +1,131 @@ +import globalContext from '../..'; + +// Tempo Transactions + +// ERC20 TST token created and owned by shared account 0x13b7e6EBcd40777099E4c45d407745aB2de1D1F8 +const defaultErc20TokenAddress = '0x86fA047df5b69df0CBD6dF566F1468756dCF339D'; +const defaultChainId = '0x89'; // Forcing to Polygon PoS for now since EIP7702 not available on Tempo +const defaultFeeToken = '0x3c499c542cef5e3811e1192ce70d8cc03d5c3359'; // USDC Coin (PoS) for Polygon Mainnet testing + +export function tempoTransactionsComponent(parentContainer) { + parentContainer.insertAdjacentHTML( + 'beforeend', + `
Sends a minimalistic 0x76 batch with 2 ERC20 transfers on chain [chainId] (hex) for initial testing:
++ Result: + +
+