Skip to content

Commit

Permalink
bytes32
Browse files Browse the repository at this point in the history
  • Loading branch information
St0rmBr3w authored Jan 10, 2024
1 parent c894bb9 commit 5aaa916
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hardhat/scripts/sendFrom.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ async function main(qty: string) {

// Define parameters for the sendFrom() function
const sender = wallet.address; // Assuming sender is the wallet's address
const toAddress = wallet.address; // Assuming receiver is ALSO the wallet's address
const toAddress = wallet.address; // Must be padded to bytes32
const amount = BigInt(qty); // Define the amount to send in wei units
const refundAddress = sender; // Address where gas refunds will be sent if necessary
const zroAddress = '0x0000000000000000000000000000000000000000'; // ZRO wallet address
Expand All @@ -43,4 +43,4 @@ async function main(qty: string) {
console.log(`* check your address [${sender}] on the destination chain, in the ERC20 transaction tab!`);
}

export default main
export default main

0 comments on commit 5aaa916

Please sign in to comment.