Skip to content

Commit

Permalink
Name waas mode 'Embedded'
Browse files Browse the repository at this point in the history
  • Loading branch information
corbanbrook committed May 10, 2024
1 parent eb9f039 commit 2674fc5
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions examples/react/src/components/Homepage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -248,14 +248,10 @@ export const Homepage = () => {
}

// const [account] = await walletClient.getAddresses()
const contractAbiInterface = new ethers.utils.Interface([
'function demo()'
])
const contractAbiInterface = new ethers.utils.Interface(['function demo()'])

// sendTransaction({ to: account, value: BigInt(0), gas: null })
const data = contractAbiInterface.encodeFunctionData(
'demo', []
) as `0x${string}`
const data = contractAbiInterface.encodeFunctionData('demo', []) as `0x${string}`

sendTransaction({
to: '0x37470dac8a0255141745906c972e414b1409b470',
Expand Down Expand Up @@ -654,7 +650,7 @@ export const Homepage = () => {
<Box gap="2" flexDirection="column" marginTop="10" width="1/2">
<ConnectionModeSelect
mode="waas"
title="Wallet as a Service (WaaS)"
title="Embedded (WaaS)"
description="Connect to an embedded wallet for a seamless experience."
onClick={handleSwitchConnectionMode}
/>
Expand Down

0 comments on commit 2674fc5

Please sign in to comment.