-
Notifications
You must be signed in to change notification settings - Fork 739
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
docs: added abi-wan integration usage example #722
Conversation
✅ Deploy Preview for starknetjs ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
import { tAbi } from '../__mocks__/hello'; | ||
import { TypedContract } from '../src'; | ||
|
||
let cairo1Contract: TypedContract<typeof tAbi>; // tAbi is your Cairo contract ABI |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should probably mention that contract.typed(tAbi)
can also be used.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Co-authored-by: Petar Penović <penovicp@gmail.com>
🎉 This PR is included in version 5.19.2 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Motivation and Resolution
Add Abi-Wan-Kanabi usage example in the doc guides