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

Use PAPI Typed Api's in specific parachain classes #457

Open
michaeldev5 opened this issue Oct 18, 2024 · 0 comments
Open

Use PAPI Typed Api's in specific parachain classes #457

michaeldev5 opened this issue Oct 18, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request XCM SDK Issue is about XCM SDK

Comments

@michaeldev5
Copy link
Collaborator

Right now PAPI implementation uses UnsafeApi in a common function that all parachains call. Modify the code to pass the XCM JSON arguments inside a specific parachain class, create a typed API instance and call the specific pallet method. This typed approach should be safer than using UnsafeApi.

@michaeldev5 michaeldev5 self-assigned this Oct 18, 2024
@dudo50 dudo50 added enhancement New feature or request XCM SDK Issue is about XCM SDK labels Oct 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request XCM SDK Issue is about XCM SDK
Projects
None yet
Development

No branches or pull requests

2 participants