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:
Explorer URLs on a per network basis.
Fraud proof windows.
Predeploy addresses.
Testnet and mainnet L1 smart contract addresses.
Stepwise breakdown
[ ] Provide fraud proof window times for testnet and mainnet, based on chain ID.
[ ] Provide smart contract addresses for predeploys, testnet and mainnet based on chain ID.
Definition of done
[ ] The SDK provides access to constants for the L2 and L1s.
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