You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
hello.
can i use on browser? Are there any examples?
I tried to import the packages but I failed.
<script type="module">
import { Core } from 'https://unpkg.com/@walletconnect/core'
</script>
<script type="module">
import { Web3Wallet } from 'https://unpkg.com/@walletconnect/web3wallet'
</script>
<script type="text/javascript">
const core = new Core({
projectId: 'ggggggggggggggggggggggg'
})
const metadata = {
name: 'gggggg-3',
description: 'AppKit Example',
url: 'https://web3modal.com', // origin must match your domain & subdomain
icons: ['https://avatars.githubusercontent.com/u/37784886']
}
const web3wallet = await Web3Wallet.init({
core, // <- pass the shared 'core' instance
metadata
})
</script>
error on console:
Uncaught SyntaxError: The requested module 'https://unpkg.com/@walletconnect/core' does not provide an export named 'Core' (at test.html:2:12)
Uncaught SyntaxError: The requested module 'https://unpkg.com/@walletconnect/web3wallet' does not provide an export named 'Web3Wallet' (at test.html:6:12)
The text was updated successfully, but these errors were encountered:
hello.
can i use on browser? Are there any examples?
I tried to import the packages but I failed.
error on console:
The text was updated successfully, but these errors were encountered: