Open leohhhn opened 1 week ago
Related: https://github.com/gnolang/gno/issues/2189
From the issue:
Published Packages:
- List {p,r}/
/** published packages. - Implement a new RPC call with pagination to fetch this information.
- Ideally sorted by publication date.
@moul
A suggested approach for this from @zivkovicmilos's side was to create a new ABCI query for this. WDYT?
Description
We should add a
namespace
endpoint tognoland
that will allow us to fetch packages & realms under a certain namespace. To prevent outputs that are too large, this endpoint should support pagination, and possibly alphabetical sorting and sorting by date added. The endpoint should also be capped to a certain number of results to prevent excessive stress on the node.This RPC would be used to display available packages via
gnoweb
, such as for this link.cc @moul