thirdweb-dev / docs Goto Github PK
View Code? Open in Web Editor NEWthirdweb docs portal
Home Page: https://docs.thirdweb.com
thirdweb docs portal
Home Page: https://docs.thirdweb.com
About
docs/docs/typescript/thirdwebsdk.fromsigner.mdx
Lines 23 to 26 in 25c21ff
In this example, the second argument passes an object containing the clientId
and secretKey
.
However, the following type information shows that no object containing those two is passed.
The documentation needs to be corrected.
Issue: When using the read functions (via useContractRead), the sender address is not automatically sent, causing msg.sender to be inaccessible to any view function within the smart contract. To work around this, I must explicitly fetch and pass the address using the "from" property in overrides. demonstrated in the image below calling the function with and without "from" property in overrides.
[Image: Image with and without Overrides]
Suggestion: It would be beneficial to enhance the user experience by adding a note or highlighting the importance of including the sender's address in view functions. Furthermore, consider implementing a boolean toggle that allows users to enable or disable the automatic forwarding of the sender's address, providing greater flexibility in contract interaction.
note:- above suggestion can be applicable to both Docs and Dashboard.
document update or any thing! please let me know, i'm happy to contribute.
Thank you.
As we already now NEXTJS is doing great and evolving constantly . One of there major update is Its APP ROUTER which is easy to use but if some one is building with app router there is many point where Newbie can stuck. it would be great if someone also add the App Router Code snippet there too.
I'm also open to contribute in the documentation.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.