-
Notifications
You must be signed in to change notification settings - Fork 9
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
Demo: URI-Resolver As-A-Wrapper #23
Comments
Hi. As a blockchain developer I can help you. |
Some implementation details:
Here's what your query module's // Import the generated schema types
import {
Input_tryResolveUri,
Input_getFile,
UriResolver_MaybeUriOrManifest
} from "./w3";
export function tryResolveUri(
input: Input_tryResolveUri
): UriResolver_MaybeUriOrManifest {
// TODO: implement this for your custom URI type
// Example from IPFS JS Plugin:
// https://github.com/polywrap/monorepo/blob/a8e9f8cb3dc64a307fa983a7e29e22cae535f3f2/packages/js/plugins/ipfs/src/resolvers.ts#L32-L90
}
export function getFile(
input: Input_getFile
): ArrayBuffer | null {
// TODO: implement this
} |
@GuruDev0807 some time has passed with no updates, reached through DM to follow up. if there's no reasonable response we'll assign this to someone else |
Blocked by: |
Happy to take this up and see where it goes as a first task for the DAO. Let me know where I should start. Discord or here are okay places to reach me. |
Hey @alphak3y, this should be unblocked. Please feel free to take this on, and message here or on Discord with any questions you may have while starting this! NOTE: the blocking issue above will be in version |
Build a wrapper that implements the URI-Resolver interface. This demo should include tests that successfully add it to the client, and query URIs using it successfully.
The text was updated successfully, but these errors were encountered: