ecadlabs / taquito

A library for building dApps on the Tezos Blockchain - JavaScript / TypeScript
https://taquito.io
Apache License 2.0
298 stars 116 forks source link

Support big map key discovery #222

Open carte7000 opened 4 years ago

carte7000 commented 4 years ago

Currently, Taquito does not support any big map discovery. This requires the user to know existing keys beforehand or rely on an external tool to discover than.

It seem possible to discover big map keys relying only on the RPC using: /chains/main/blocks/head/context/raw/json/big_maps/index/{big_map_id}/contents Which give a list of all the keys encoded as expression

If we are able to use this endpoint to provide big map keys discovery we can then:

Some questions remains:

zamrokk commented 2 years ago

up ^

Required too =)