Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: adding noble to address prefix list #5

Merged
merged 2 commits into from
Sep 29, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/functions/getActiveRpcFromChainName.html
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ <h5>chainNetwork: <span class="tsd-signature-type">ChainNetwork</span><span clas
</div></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/ixofoundation/cosmos-chain-resolver/blob/f1c5679/src/chain.ts#L73">chain.ts:73</a></li></ul></aside></li></ul></section></div>
<li>Defined in <a href="https://github.com/ixofoundation/cosmos-chain-resolver/blob/a7c54fe/src/chain.ts#L73">chain.ts:73</a></li></ul></aside></li></ul></section></div>
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
<div class="tsd-navigation settings">
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
Expand Down
2 changes: 1 addition & 1 deletion docs/functions/getActiveRpcFromRegistryChainInfo.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ <h5>chainInfo: <span class="tsd-signature-type">RegistryChainInfo</span></h5>
</div></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/ixofoundation/cosmos-chain-resolver/blob/f1c5679/src/chain.ts#L49">chain.ts:49</a></li></ul></aside></li></ul></section></div>
<li>Defined in <a href="https://github.com/ixofoundation/cosmos-chain-resolver/blob/a7c54fe/src/chain.ts#L49">chain.ts:49</a></li></ul></aside></li></ul></section></div>
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
<div class="tsd-navigation settings">
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
Expand Down
2 changes: 1 addition & 1 deletion docs/functions/getChainExplorer.html
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ <h5><code class="tsd-tag ts-flagOptional">Optional</code> chainExplorers: <span
</div></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">KeplrChainExplorer</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/ixofoundation/cosmos-chain-resolver/blob/f1c5679/src/chain.ts#L87">chain.ts:87</a></li></ul></aside></li></ul></section></div>
<li>Defined in <a href="https://github.com/ixofoundation/cosmos-chain-resolver/blob/a7c54fe/src/chain.ts#L87">chain.ts:87</a></li></ul></aside></li></ul></section></div>
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
<div class="tsd-navigation settings">
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
Expand Down
2 changes: 1 addition & 1 deletion docs/functions/getChainExplorerAsync.html
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ <h5>chainNetwork: <span class="tsd-signature-type">ChainNetwork</span></h5>
</div></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">KeplrChainExplorer</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/ixofoundation/cosmos-chain-resolver/blob/f1c5679/src/chain.ts#L126">chain.ts:126</a></li></ul></aside></li></ul></section></div>
<li>Defined in <a href="https://github.com/ixofoundation/cosmos-chain-resolver/blob/a7c54fe/src/chain.ts#L126">chain.ts:126</a></li></ul></aside></li></ul></section></div>
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
<div class="tsd-navigation settings">
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
Expand Down
2 changes: 1 addition & 1 deletion docs/functions/getChainNameFromAddressPrefix.html
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ <h5>prefix: <span class="tsd-signature-type">string</span></h5>
</div></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/ixofoundation/cosmos-chain-resolver/blob/f1c5679/src/chain.ts#L263">chain.ts:263</a></li></ul></aside></li></ul></section></div>
<li>Defined in <a href="https://github.com/ixofoundation/cosmos-chain-resolver/blob/a7c54fe/src/chain.ts#L263">chain.ts:263</a></li></ul></aside></li></ul></section></div>
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
<div class="tsd-navigation settings">
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
Expand Down
2 changes: 1 addition & 1 deletion docs/functions/getKeplrChainInfo.html
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ <h5>chainNetwork: <span class="tsd-signature-type">ChainNetwork</span><span clas
</div></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">KeplrChainInfo</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/ixofoundation/cosmos-chain-resolver/blob/f1c5679/src/chain.ts#L228">chain.ts:228</a></li></ul></aside></li></ul></section></div>
<li>Defined in <a href="https://github.com/ixofoundation/cosmos-chain-resolver/blob/a7c54fe/src/chain.ts#L228">chain.ts:228</a></li></ul></aside></li></ul></section></div>
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
<div class="tsd-navigation settings">
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
Expand Down
2 changes: 1 addition & 1 deletion docs/functions/getKeplrChainInfoFromRegistryChainInfo.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ <h5>chainInfo: <span class="tsd-signature-type">RegistryChainInfo</span></h5>
</div></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">KeplrChainInfo</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/ixofoundation/cosmos-chain-resolver/blob/f1c5679/src/chain.ts#L198">chain.ts:198</a></li></ul></aside></li></ul></section></div>
<li>Defined in <a href="https://github.com/ixofoundation/cosmos-chain-resolver/blob/a7c54fe/src/chain.ts#L198">chain.ts:198</a></li></ul></aside></li></ul></section></div>
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
<div class="tsd-navigation settings">
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
Expand Down
2 changes: 1 addition & 1 deletion docs/functions/getRegistryChainInfo.html
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ <h5>chainNetwork: <span class="tsd-signature-type">ChainNetwork</span><span clas
</div></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">RegistryChainInfo</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/ixofoundation/cosmos-chain-resolver/blob/f1c5679/src/chain.ts#L30">chain.ts:30</a></li></ul></aside></li></ul></section></div>
<li>Defined in <a href="https://github.com/ixofoundation/cosmos-chain-resolver/blob/a7c54fe/src/chain.ts#L30">chain.ts:30</a></li></ul></aside></li></ul></section></div>
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
<div class="tsd-navigation settings">
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ixo/cosmos-chain-resolver",
"version": "0.0.3",
"version": "0.0.4",
"description": "An SDK to fetch and filter chain information",
"author": "ixo",
"homepage": "https://github.com/ixofoundation/cosmos-chain-resolver#readme",
Expand Down
3 changes: 2 additions & 1 deletion src/constants/chain.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2706,6 +2706,7 @@ export const addressPrefixToRegistryChainName: Record<string, string> = {
medas: 'medasdigital',
meme: 'meme',
n: 'nyx',
noble: 'noble',
omniflix: 'omniflixhub',
osmo: 'osmosis',
persistence: 'persistence',
Expand All @@ -2726,4 +2727,4 @@ export const addressPrefixToRegistryChainName: Record<string, string> = {
tgrade: 'tgrade',
umee: 'umee',
und: 'unification',
}
};