Skip to content

Commit

Permalink
Reduce txn transfer on example
Browse files Browse the repository at this point in the history
  • Loading branch information
broody committed Aug 20, 2024
1 parent 1375bee commit 3a7c296
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/starknet-react-next/src/components/TransferEth.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,12 @@ export const TransferEth = () => {
{
contractAddress: ETH_CONTRACT,
entrypoint: "approve",
calldata: [account?.address, "0x11C37937E08000", "0x0"],
calldata: [account?.address, "0x1C6BF52634000", "0x0"],
},
{
contractAddress: ETH_CONTRACT,
entrypoint: "transfer",
calldata: [account?.address, "0x11C37937E08000", "0x0"],
calldata: [account?.address, "0x1C6BF52634000", "0x0"],
},
])
.then(({ transaction_hash }) => setTxnHash(transaction_hash))
Expand Down

0 comments on commit 3a7c296

Please sign in to comment.