Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Module has no exported member 'contracts' #69

Open
lucky-patty opened this issue Sep 4, 2023 · 0 comments
Open

Module has no exported member 'contracts' #69

lucky-patty opened this issue Sep 4, 2023 · 0 comments

Comments

@lucky-patty
Copy link

Sorry to open this issue again but I come across this issue when I tried to interact with the contract.

Screenshot 2566-09-05 at 01 39 26

I run the same code as the example

<script>
  import { contracts } from 'svelte-web3'

  // ...
</script>

{#await $contracts.myContract.methods.totalSupply().call()}

<span>waiting...</span>

{:then value}

<span>result of contract call totalSupply on my contract : { value } </span>

{/await}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant