Skip to content

Instantiation

In some advanced cases you may need to directly instanciate the Ethers proxies classes.

Firstly all those classes are available through the tulipe package :

js
import {
  VEProviderProxy,
  VESignerProxy,
  VEContractProxy,
  VETransactionProxy
} from "tulipe";
1
2
3
4
5
6

Each of them wait for 3 optional arguments during instantiation :

  • ethersInstance
  • extensionInstance
    • type: VEExtension instance

  • placeholderInstance
    • type: VEPlaceholder instance

Some of those class will try to automatically retrieve an ethersInstance if this one is done explicitely provided.

Released under the MIT License.