can I set gas limits for the uploads? will there be a queue and retry to upload when gas costs fall below the set threshold? - that would be pretty awesome!
thatās a great idea, I hadnāt thought of that! Iāll put that on the list of enhancements.
Last day for backing update!:
Frontend update:
Maxx is still busiy hacking away at the frontend. He has the persistent store implemented so that we can keep track of application state. Its starting to look like a real app! Here is some eye candy walking through initialization, uploading files, adding those files to pods, and uploading the pods to the network:
Note that the Upload All button for writing the pod scratchpads to the network isnāt that fast, but its no fun staring at a spinning wheel for a minute
Backend update:
Maxx has come up with some additional functions Iām going to add to the backend API to make it easier to build applications with colonylib: listing all created pods, listing files in a pod, and the ability to upload a single pod instead of all updates at once. The functionality for all of these already exists, just need to expose them in the public API.
REST API!!
I started working on a rust program Iām calling colony-daemon
. This is a lightweight server that exposes the colonylib
API as REST endpoints. While the Colony GUI is the frontend for end users, the colony-daemon
is envisioned as the frontend for non-rust colonylib application developers. It will handle:
- disk operations for local search cache and pod data
- key management for generating and storing all scratchpad/pointer keys for pods
- on disk RDF database and SPARQL query system
This is focused on metadata operations, it isnāt meant as a general purpose do-all Autonomi REST frontend. Couple this with @happybeing 's dweb
to get the full stack!
That said, it isnāt quite done, Iām still fighting some errors. Iāll post an announcement when its ready for general use. For now, you can see the work in progress here!