-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #30 from oraichain/feat/dynamic-token-list
Feat/dynamic token list
- Loading branch information
Showing
39 changed files
with
516 additions
and
180 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,5 @@ | ||
nodeLinker: node-modules | ||
nodeLinker: node-modules | ||
|
||
npmAuthToken: "${{ secrets.NPM_TOKEN }}" | ||
|
||
npmRegistryServer: "https://registry.npmjs.org" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
The repository contains various logic related to the Oraichain SDK, which includes handling chain information, token items, and supported chain information. Here are some key areas of logic in the repository: | ||
|
||
## Chain Information Handling: | ||
|
||
Classes like `ChainInfoReader`, `ChainInfoReaderFromBackend`, `ChainInfoReaderFromGit`, and `ChainInfoReaderFromGitRaw` are responsible for reading chain information from various sources such as backend services, GitHub, and raw GitHub content. | ||
|
||
The `OraiCommon` class provides methods to initialize chain information from different sources. | ||
|
||
## Token Items Handling: | ||
|
||
Classes like `TokenItems` and `TokenItemsImpl` manage token items. | ||
|
||
The repository includes logic for handling token items, such as fetching and managing token data. | ||
|
||
## Supported Chain Information: | ||
|
||
Classes like `SupportedChainInfoReader` and `SupportedChainInfoReaderFromGit` handle reading supported chain information from GitHub. | ||
|
||
Functions like `readSupportedChainInfo` are used to fetch and process supported chain information. | ||
|
||
## Helpers and Utilities: | ||
|
||
The repository includes various helper functions and utilities in files like `index.ts`, which provide functionalities such as making HTTP requests with retries, parsing transactions, and converting numbers. | ||
|
||
## Constants and Configuration: | ||
|
||
Constants related to chain IDs and registry endpoints are defined in files like `chain-ids.ts` and `chain-registry.ts`. | ||
|
||
## Package Management: | ||
|
||
The repository uses tools like Lerna and Nx for managing multiple packages and their dependencies. The configuration for these tools can be found in files like `lerna.json` and `nx.json`. | ||
|
||
## Documentation: | ||
|
||
The repository includes documentation files like `CHAIN_REGISTRY.md` that provide information about the chain registry mechanism and how to integrate different blockchains with the Oraichain ecosystem. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.