Socket
Socket
Sign inDemoInstall

@wormhole-foundation/sdk-evm

Package Overview
Dependencies
Maintainers
5
Versions
117
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@wormhole-foundation/sdk-evm - npm Package Compare versions

Comparing version 0.5.0-alpha.0 to 0.5.0-alpha.1

5

dist/cjs/address.d.ts

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

import { Address, UniversalAddress } from '@wormhole-foundation/sdk-connect';
import { AnyEvmAddress } from './types';
import type { Address } from '@wormhole-foundation/sdk-connect';
import { UniversalAddress } from '@wormhole-foundation/sdk-connect';
import type { AnyEvmAddress } from './types';
export declare const EvmZeroAddress: string;

@@ -4,0 +5,0 @@ export declare class EvmAddress implements Address {

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

import { Chain, ChainContext, Network } from '@wormhole-foundation/sdk-connect';
import { EvmChains } from './types';
import type { Chain, Network } from '@wormhole-foundation/sdk-connect';
import { ChainContext } from '@wormhole-foundation/sdk-connect';
import type { EvmChains } from './types';
/**

@@ -4,0 +5,0 @@ * A ChainContext for the EVM platform

7

dist/cjs/platform.d.ts

@@ -1,6 +0,7 @@

import { Balances, Chain, ChainsConfig, Network, PlatformContext, SignedTx, StaticPlatformMethods, TokenId, TxHash } from '@wormhole-foundation/sdk-connect';
import { Provider } from 'ethers';
import type { Balances, Chain, ChainsConfig, Network, SignedTx, StaticPlatformMethods, TokenId, TxHash } from '@wormhole-foundation/sdk-connect';
import { PlatformContext } from '@wormhole-foundation/sdk-connect';
import type { Provider } from 'ethers';
import * as ethers_contracts from './ethers-contracts';
import { EvmChain } from './chain';
import { AnyEvmAddress, EvmChains, EvmPlatformType } from './types';
import type { AnyEvmAddress, EvmChains, EvmPlatformType } from './types';
/**

@@ -7,0 +8,0 @@ * @category EVM

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

import { Network, PlatformNativeSigner, SignOnlySigner, SignedTx, Signer, UnsignedTransaction } from '@wormhole-foundation/sdk-connect';
import { Provider, Signer as EthersSigner } from 'ethers';
import { EvmChains } from './types';
import type { Network, SignOnlySigner, SignedTx, Signer, UnsignedTransaction } from '@wormhole-foundation/sdk-connect';
import { PlatformNativeSigner } from '@wormhole-foundation/sdk-connect';
import type { Provider, Signer as EthersSigner } from 'ethers';
import type { EvmChains } from './types';
export declare function getEvmSignerForKey(rpc: Provider, privateKey: string): Promise<Signer>;

@@ -5,0 +6,0 @@ export declare function getEvmSignerForSigner(chain: EvmChains, signer: EthersSigner): Promise<Signer>;

@@ -1,3 +0,3 @@

import { PlatformToChains, UniversalOrNative } from '@wormhole-foundation/sdk-connect';
import { TransactionRequest } from 'ethers';
import type { PlatformToChains, UniversalOrNative } from '@wormhole-foundation/sdk-connect';
import type { TransactionRequest } from 'ethers';
export declare const unusedNonce = 0;

@@ -4,0 +4,0 @@ export declare const unusedArbiterFee = 0n;

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

import { Network, UnsignedTransaction } from '@wormhole-foundation/sdk-connect';
import { TransactionRequest } from 'ethers';
import { EvmChains } from './types';
import type { Network, UnsignedTransaction } from '@wormhole-foundation/sdk-connect';
import type { TransactionRequest } from 'ethers';
import type { EvmChains } from './types';
/**

@@ -5,0 +5,0 @@ * An unsigned transaction for the EVM platform

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

import { Address, UniversalAddress } from '@wormhole-foundation/sdk-connect';
import { AnyEvmAddress } from './types';
import type { Address } from '@wormhole-foundation/sdk-connect';
import { UniversalAddress } from '@wormhole-foundation/sdk-connect';
import type { AnyEvmAddress } from './types';
export declare const EvmZeroAddress: string;

@@ -4,0 +5,0 @@ export declare class EvmAddress implements Address {

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

import { Chain, ChainContext, Network } from '@wormhole-foundation/sdk-connect';
import { EvmChains } from './types';
import type { Chain, Network } from '@wormhole-foundation/sdk-connect';
import { ChainContext } from '@wormhole-foundation/sdk-connect';
import type { EvmChains } from './types';
/**

@@ -4,0 +5,0 @@ * A ChainContext for the EVM platform

@@ -1,6 +0,7 @@

import { Balances, Chain, ChainsConfig, Network, PlatformContext, SignedTx, StaticPlatformMethods, TokenId, TxHash } from '@wormhole-foundation/sdk-connect';
import { Provider } from 'ethers';
import type { Balances, Chain, ChainsConfig, Network, SignedTx, StaticPlatformMethods, TokenId, TxHash } from '@wormhole-foundation/sdk-connect';
import { PlatformContext } from '@wormhole-foundation/sdk-connect';
import type { Provider } from 'ethers';
import * as ethers_contracts from './ethers-contracts';
import { EvmChain } from './chain';
import { AnyEvmAddress, EvmChains, EvmPlatformType } from './types';
import type { AnyEvmAddress, EvmChains, EvmPlatformType } from './types';
/**

@@ -7,0 +8,0 @@ * @category EVM

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

import { Network, PlatformNativeSigner, SignOnlySigner, SignedTx, Signer, UnsignedTransaction } from '@wormhole-foundation/sdk-connect';
import { Provider, Signer as EthersSigner } from 'ethers';
import { EvmChains } from './types';
import type { Network, SignOnlySigner, SignedTx, Signer, UnsignedTransaction } from '@wormhole-foundation/sdk-connect';
import { PlatformNativeSigner } from '@wormhole-foundation/sdk-connect';
import type { Provider, Signer as EthersSigner } from 'ethers';
import type { EvmChains } from './types';
export declare function getEvmSignerForKey(rpc: Provider, privateKey: string): Promise<Signer>;

@@ -5,0 +6,0 @@ export declare function getEvmSignerForSigner(chain: EvmChains, signer: EthersSigner): Promise<Signer>;

import { PlatformNativeSigner, chainToPlatform, isNativeSigner, } from '@wormhole-foundation/sdk-connect';
import { Wallet, } from 'ethers';
import { Wallet } from 'ethers';
import { EvmPlatform } from './platform';

@@ -4,0 +4,0 @@ import { _platform } from './types';

@@ -1,3 +0,3 @@

import { PlatformToChains, UniversalOrNative } from '@wormhole-foundation/sdk-connect';
import { TransactionRequest } from 'ethers';
import type { PlatformToChains, UniversalOrNative } from '@wormhole-foundation/sdk-connect';
import type { TransactionRequest } from 'ethers';
export declare const unusedNonce = 0;

@@ -4,0 +4,0 @@ export declare const unusedArbiterFee = 0n;

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

import { Network, UnsignedTransaction } from '@wormhole-foundation/sdk-connect';
import { TransactionRequest } from 'ethers';
import { EvmChains } from './types';
import type { Network, UnsignedTransaction } from '@wormhole-foundation/sdk-connect';
import type { TransactionRequest } from 'ethers';
import type { EvmChains } from './types';
/**

@@ -5,0 +5,0 @@ * An unsigned transaction for the EVM platform

{
"name": "@wormhole-foundation/sdk-evm",
"version": "0.5.0-alpha.0",
"version": "0.5.0-alpha.1",
"repository": {

@@ -56,3 +56,3 @@ "type": "git",

"clean": "rm -rf ./dist && rm -rf ./.turbo",
"lint": "npm run prettier && eslint --fix",
"lint": "npm run prettier && eslint --fix ./src --ext .ts",
"prettier": "prettier --write ./src",

@@ -65,3 +65,3 @@ "test": "jest --config ./jest.config.ts"

"dependencies": {
"@wormhole-foundation/sdk-connect": "0.5.0-alpha.0",
"@wormhole-foundation/sdk-connect": "0.5.0-alpha.1",
"typechain": "^8.2.0",

@@ -68,0 +68,0 @@ "ethers": "^6.5.1",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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