Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@ctrl-tech/chains-cosmos

Package Overview
Dependencies
Maintainers
0
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ctrl-tech/chains-cosmos

```typescript const cosmosManifest = { name: 'Cosmos Hub', description: '', rpcURL: 'https://rpc-proxy.xdefi.services/cosmos/rpc/mainnet', lcdURL: 'https://rpc-proxy.xdefi.services/cosmos/lcd/mainnet', chainSymbol: 'ATOM', blockExplorerURL: 'h

  • 2.0.17
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
2
Maintainers
0
Weekly downloads
 
Created
Source

Manifest

const cosmosManifest = {
  name: 'Cosmos Hub',
  description: '',
  rpcURL: 'https://rpc-proxy.xdefi.services/cosmos/rpc/mainnet',
  lcdURL: 'https://rpc-proxy.xdefi.services/cosmos/lcd/mainnet',
  chainSymbol: 'ATOM',
  blockExplorerURL: 'https://www.mintscan.io/cosmos/account',
  chainId: 'cosmoshub-4',
  chain: 'cosmos',
  denom: 'uatom',
  decimals: 6,
  prefix: 'cosmos',
  feeGasStep: {
    high: 0.003,
    medium: 0.0025,
    low: 0.001,
  },
};
  • name: The name of the blockchain network, in this case, Cosmos Hub. Uses only for display name to user
  • description: A brief description or additional information about the blockchain network.
  • rpcURL: The URL of the remote procedure call (RPC) server used to interact with the Cosmos blockchain.
  • chainSymbol: The symbol or ticker representing the native cryptocurrency of the Cosmos Hub blockchain, which is "ATOM".
  • blockExplorerURL: The URL of the block explorer for the Cosmos blockchain network. Block explorers allow users to view details about blocks, transactions, addresses, and other blockchain-related data.
  • chainId: The unique identifier for the Cosmos Hub blockchain. In this example, it's set to "cosmoshub-4".
  • chain: The name of the blockchain network. If you are using IndexerDataSource, it must be obtained from the registry.
  • decimals: The number of decimal places supported by the native currency of the Cosmos Hub blockchain. In this example, it's set to 6.
  • feeGasStep: An object containing the gas fee steps for transactions on the Cosmos Hub blockchain. It includes three levels: high, medium, and low, each with a different gas fee value specified in "ATOM".

Cosmos specific fields:

  • lcdURL: The URL of the LCD (Light Client Daemon) server used to query information from the Cosmos Hub blockchain.
  • denom: The denomination or name of the native currency of the Cosmos Hub blockchain, which is "uatom".
  • prefix: A prefix used in some contexts or operations related to the Cosmos Hub blockchain, which is "cosmos".

FAQs

Package last updated on 27 Sep 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc