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

@xchainjs/xchain-evm-providers

Package Overview
Dependencies
Maintainers
10
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@xchainjs/xchain-evm-providers - npm Package Compare versions

Comparing version 0.1.1 to 0.1.2

6

lib/providers/covalent/covalent-data-provider.d.ts

@@ -1,4 +0,4 @@

import { Balance, Fees, OnlineDataProvider, Tx, TxHistoryParams, TxsPage } from '@xchainjs/xchain-client';
import { Balance, EvmOnlineDataProvider, FeeRates, Tx, TxHistoryParams, TxsPage } from '@xchainjs/xchain-client';
import { Address, Asset, Chain } from '@xchainjs/xchain-util';
export declare class CovalentProvider implements OnlineDataProvider {
export declare class CovalentProvider implements EvmOnlineDataProvider {
private baseUrl;

@@ -17,3 +17,3 @@ private apiKey;

getTransactionData(txHash: string, assetAddress?: Address): Promise<Tx>;
getFees(): Promise<Fees>;
getFeeRates(): Promise<FeeRates>;
}
import { Provider } from '@ethersproject/abstract-provider';
import { Balance, OnlineDataProvider, Tx, TxHistoryParams, TxsPage } from '@xchainjs/xchain-client';
import { Balance, EvmOnlineDataProvider, FeeRates, Tx, TxHistoryParams, TxsPage } from '@xchainjs/xchain-client';
import { Address, Asset, Chain } from '@xchainjs/xchain-util';
export declare class EtherscanProvider implements OnlineDataProvider {
export declare class EtherscanProvider implements EvmOnlineDataProvider {
private provider;

@@ -18,2 +18,3 @@ private baseUrl;

getTransactionData(txHash: string, assetAddress?: Address): Promise<Tx>;
getFeeRates(): Promise<FeeRates>;
}
{
"name": "@xchainjs/xchain-evm-providers",
"version": "0.1.1",
"version": "0.1.2",
"license": "MIT",

@@ -30,3 +30,3 @@ "main": "lib/index.js",

"devDependencies": {
"@xchainjs/xchain-client": "^0.14.2",
"@xchainjs/xchain-client": "^0.15.2",
"@xchainjs/xchain-crypto": "^0.3.0",

@@ -37,3 +37,3 @@ "@xchainjs/xchain-util": "^0.13.1",

"peerDependencies": {
"@xchainjs/xchain-client": "^0.14.2",
"@xchainjs/xchain-client": "^0.15.2",
"@xchainjs/xchain-crypto": "^0.3.0",

@@ -46,2 +46,2 @@ "@xchainjs/xchain-util": "^0.13.1",

}
}
}
# XChainJS API UTXO providers Interface
A specification for a generalised interface for api providers, to be used by XChainJS implementations. The providers should not have any functionality to generate a key, instead, the `asgardex-crypto` library should be used to ensure cross-chain compatible keystores are handled. The providers is only ever passed a master BIP39 phrase, from which a temporary key and address is decoded.
A specification for a generalised interface for api providers, to be used by XChainJS implementations. The providers should not have any functionality to generate a key, instead, the `xchain-crypto` library should be used to ensure cross-chain compatible keystores are handled. The providers is only ever passed a master BIP39 phrase, from which a temporary key and address is decoded.

@@ -5,0 +5,0 @@ ## Documentation

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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