diff --git a/examples/svelte/src/App.svelte b/examples/svelte/src/App.svelte index 1c2a6d0..a8f3d98 100644 --- a/examples/svelte/src/App.svelte +++ b/examples/svelte/src/App.svelte @@ -1,25 +1,34 @@ - + const stark = addStarknetConnection() + const evm = addEvmConnection($wagmiConfig) + let account + const connect = async (conf) => create(conf).then((connect) => connect() + .then(res => { + account = { + config: res, + accountData: res.accountData + } + console.log(res) + }) + .catch(err => console.error(err)) + ) +
- + +
@@ -33,8 +42,9 @@

- - + {#if account} + + {/if}