-
Notifications
You must be signed in to change notification settings - Fork 3
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
typedContract generation #1
Comments
This was generate using typechain With command:
|
thank you @niklabh |
@niklabh getting this error |
Contract is complied succefully. This error message can be ignored |
thx @niklabh |
Hey @niklabh, I successfully compile and run it. I have one question. I am using wrapper wallet with the address display on dropdown field. But executing PLAY NOW function which enter users with different address as you can see players section. Why this is happening? What if I wan't to filter data based on user? Doesn't polkadotjs wrapper account address and added players address be same? This seems work on polkadot js. |
Even if the Address looks different it is the same. It is just formatted using different ss58 format. The error is coming from contract itself. For the contract the address public key matters not the address string. Public key will be the same fro wrapper wallet. |
@niklabh thanks for quick response. This is my function which returns todo_list of specific users who created them. But while creating todo list owner address format save different and doesn't match with caller in frontend and data doesn't display. How to solve this issue? Or am I doing something wrong?
|
@niklabh how this folder was generated?
https://github.com/AstarNetwork/wasm-lottery/tree/master/src/typedContract
The text was updated successfully, but these errors were encountered: