You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 25, 2025. It is now read-only.
I am trying to write a decentralized book library app to get familiar with p2panda. Thanks for this great protocol, I think you do amazing job.
It would be nice to have something like fishy as a create to be able to read schemas from lock file and to deploy them to node by GraphQL client or just endpoint.
For example, it would be convenient to provide predefined schema.lock within application bundle, to initialize local offline app's node with these schemas.
Something like:
use fishy;fn initializeApplicationNode {// create and start node...// prepare GraphQL client if needed...// Create LockFile// from pathlet path = Path::from("schema.lock");let lock_file = LockFile::from(path).unwrap();// from Stringlet file_content = String::from("...readed content...");let lock_file = LockFile::from(file_content).unwrap();// import schemalet schema:Vec<Schema> = lock_file.to_schema().ok();// Deploy
fishy::deploy_lock_file(lock_file, client).ok();
fishy::deploy_schema(schema, client).ok();}
Hello!
I am trying to write a decentralized book library app to get familiar with p2panda. Thanks for this great protocol, I think you do amazing job.
It would be nice to have something like fishy as a create to be able to read schemas from lock file and to deploy them to node by GraphQL client or just endpoint.
For example, it would be convenient to provide predefined schema.lock within application bundle, to initialize local offline app's node with these schemas.
Something like:
or may be something different but doing same job.