@ctrl-tech/chains-bitcoin
TypeScript icon, indicating that this package has built-in type declarations

2.0.17 • Public • Published

Manifest

const bitcoinManifest = {
  name: 'Bitcoin',
  description: '',
  rpcURL: 'https://btc-haskoin.xdefiservices.com',
  chainSymbol: 'BTC',
  blockExplorerURL: 'https://blockchair.com/bitcoin',
  chainId: 'bitcoin',
  chain: 'bitcoin',
  decimals: 8,
  feeGasStep: {
    high: 1,
    medium: 1,
    low: 1,
  },
};
  • name: The name of the blockchain network, in this case, Bitcoin. Uses only for display name to user
  • description: A brief description or additional information about the blockchain network.
  • rpcURL: The URL of the RPC (Remote Procedure Call) endpoint used to interact with the Bitcoin blockchain network.
  • chainSymbol: The symbol or ticker representing the Bitcoin blockchain network, which is "BTC".
  • blockExplorerURL: The URL of the block explorer for the Bitcoin blockchain network. Block explorers allow users to view details about blocks, transactions, addresses, and other blockchain-related data.
  • chainId: The unique identifier for the Bitcoin blockchain network, often referred to as the chain ID. In this example, it is "bitcoin".
  • 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 used for representing token amounts on the Bitcoin blockchain. In this case, it is set to 8.
  • feeGasStep: An object specifying the gas steps for different fee levels (high, medium, and low) used for transactions on the Bitcoin blockchain network. In this example, all fee levels are set to 1.

Readme

Keywords

none

Package Sidebar

Install

npm i @ctrl-tech/chains-bitcoin

Weekly Downloads

1

Version

2.0.17

License

MIT

Unpacked Size

1.51 MB

Total Files

10

Last publish

Collaborators

  • abhi_ctrl
  • xdefidp