hypercerts-org / hypercerts

Hypercerts are a tool to build scalable retrospective reward systems for impact.
https://hypercerts.org/
Other
91 stars 28 forks source link

Client is read only despite necessary parameters #1187

Closed polus-arcticus closed 9 months ago

polus-arcticus commented 9 months ago

Which area(s) of Hypercerts are affected? (leave empty if unsure)

No response

To Reproduce

git clone, npm install, and add a nftstorage token in the App.tsx file. Use an injected wallet on optimism network https://github.com/polus-arcticus/hypercerts-bug

Describe the Bug

attempts to create a writable hypercert client seems to fail despite the appropriate config being provided. It is in read only mode despite the addition of a publicClient, walletClient, chain: { id: 10} and nftStorageToken

Expected Behavior

should provide a client that can call mint Screenshot from 2023-11-22 12-14-10

bitbeckers commented 9 months ago

The logs show that you're missing the Web3Storage key, have you provided that?

polus-arcticus commented 9 months ago

The logs show that you're missing the Web3Storage key, have you provided that?

Hi @bitbeckers thanks for your attention. Thank you, i misread the docs and thought i only needed to provide one or the other, this will likely fix it