nahmii / nahmii-2-sdk

The `@nahmii/sdk` package is an SDK to interact with Nahmii 2.0.
https://www.nahmii.io/
1 stars 2 forks source link

Contract and chain constants #30

Open HDauven opened 2 years ago

HDauven commented 2 years ago

Is your feature request related to a problem? Please describe. Contract metadata and chain constants can currently be found by either using our metadata endpoints (meta.nahmii.io/meta.testnet.nahmii.io) or by hard coding the constants into code bases. This approach can cause duplication and errors.

Describe the solution you'd like To prevent duplication of code and to provide a single source of truth for third parties, it could be beneficial to expose contract and chain constants through the Nahmii 2.0 SDK.

Examples of data that can be provided:

Stepwise breakdown

Definition of done