1.0.2 • Published 1 year ago

m3tering-ethers v1.0.2

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

Warp M3tering Plugin - Ethers

This plugin attaches ethers from the ethers library v6.11.1 to the SmartWeave global object.
It can be then used inside the contract like this:

const provider = new SmartWeave.extensions.ethers.JsonRpcProvider("https://gnosis-rpc.publicnode.com");

Installation

yarn add warp-m3tering-plugin-ethers

import { EthersExtension } from 'warp-m3tering-plugin-ethers;
import { WarpFactory } from 'warp-contracts';

const warp = WarpFactory.forMainnet().use(new EthersExtension());

Requires warp-contracts SDK ver. min. 1.2.30.

1.0.2

1 year ago

1.0.1

1 year ago