0.5.1 • Published 1 month ago

@delvtech/evm-client-ethers v0.5.1

Weekly downloads
-
License
MIT
Repository
-
Last release
1 month ago

@delvtech/evm-client-ethers

Ethers implementations of @delvtech/evm-client.

import { createCachedReadContract } from '@delvtech/evm-client-ethers';
import { Provider } from 'ethers';
import erc20Abi from './abis/erc20Abi.json';

type CachedErc20Contract = CachedReadWriteContract<typeof erc20Abi>;

export function createTokenContract(
  address: `0x${string}`,
  provider: Provider,
): CachedErc20Contract {
  return createCachedReadContract({
    abi: erc20Abi,
    address,
    provider,
  });
}
0.5.1

1 month ago

0.5.0

1 month ago

0.4.2

2 months ago

0.4.1

2 months ago

0.4.0

2 months ago

0.3.1

2 months ago

0.3.0

3 months ago

0.2.3

3 months ago

0.2.2

3 months ago

0.2.4

3 months ago

0.2.1

4 months ago

0.2.0

4 months ago

0.1.1

4 months ago

0.0.10

4 months ago

0.0.11

4 months ago

0.0.12

4 months ago

0.1.0

4 months ago

0.0.9

4 months ago

0.0.8

4 months ago

0.0.5

4 months ago

0.0.4

4 months ago

0.0.7

4 months ago

0.0.6

4 months ago

0.0.3

4 months ago

0.0.2

4 months ago

0.0.1

4 months ago

0.0.0

4 months ago