AvaProtocol / oak.js

Javascript dev-utils library to access OAK Network APIs, leveraging typing decoration of polkadot.js library.
Apache License 2.0
2 stars 0 forks source link

Update chainConfigs such as decimals, ss58, or other configs and dynamically override the constants in the config package #96

Closed chrisli30 closed 2 weeks ago

chrisli30 commented 9 months ago
          This is a good idea to retrive decimals and ss58 from RPC, and needs to go into adapter as a function, `getMetadata()`

_Originally posted by @chrisli30 in https://github.com/OAK-Foundation/oak.js/pull/91#discussion_r1401382695_

chrisli30 commented 9 months ago

The chainMetadata() is used to retrieve the latest chain config via API, but should fall back to the hard-coded config values in @oak-network/config package, if failed.

chrisli30 commented 9 months ago

These config values rarely change, so this is a low priority.

github-actions[bot] commented 1 month ago

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.

github-actions[bot] commented 3 weeks ago

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.

github-actions[bot] commented 2 weeks ago

This issue was closed because it has been stalled for 7 days with no activity.