Neo neighborhood developer Alex Walker has launched the Greenfinch API, an HTTP API that goals to make it simple for builders to faucet into the ability of NeoFS. The Greenfinch API is the primary undertaking to be funded by the GrantShares program, and is now obtainable to be used within the ecosystem. Its Dropbox-like GUI utility just lately gained Finest Middleware Challenge within the Neo Polaris Launchpad.
A demo video has been offered to exhibit use of the API. To comply with alongside, customers will want a N3 public key and an ID from a NeoFS container created with it. To carry out this step, customers can run the instance Go code offered or create a container utilizing the Greenfinch app, obtainable for Home windows and Mac.
Along with the corresponding pockets’s personal key (which can by no means go away the consumer’s browser), the information will be adopted to add an object to the container and retrieve it from NeoFS.
The Greenfinch API hides a whole lot of the low-level complexity concerned when utilizing the NeoFS SDK immediately. As a normal REST HTTP API, it may be simply interacted with from any programming language or structure, making it handy for builders that aren’t comfy with Go.
Presently the service operates on the T4 TestNet and permits customers to work together with their very own containers on NeoFS. As an open-source undertaking, builders are additionally welcome to deploy their very own model of the API for personal use. Directions for doing so are offered alongside the code on GitHub.
Within the present model, supported performance consists of importing easy objects, itemizing all objects within the container, fetching objects/metadata, and deleting objects. The undertaking roadmap highlights full container administration as the subsequent main replace, which can permit for simple creation, deletion, and sharing of containers. Different upcoming enhancements embrace assist for bigger objects, attribute looking, and shared library recordsdata (.so) as subsequent steps.
The Greenfinch API joins the Greenfinch app and NeoFS overview documentation because the third main contribution by Walker to the Neo ecosystem, and the service has already seen integration with different Neo tasks. The NeoDAO toolkit created for the Polaris hackathon by fellow neighborhood developer GptForMe added assist for the API to supply simple NeoFS asset internet hosting to DAOs created with the toolkit.
Builders can get began with the API on the following hyperlink:
https://api.greenfinch.app/