Skip to content
On this page

API

Here is the detailed Application Programming Interface of the dapp object :

Properties

  • dapp.provider : holds everything related to current DApp's provider
    • type: VEProviderProxy object

  • dapp.signer : holds everything related to current DApp's provider
    • type: VESignerProxy object

  • dapp.contracts : holds everything related to current DApp's contracts
    • type: VEContractsList object

  • dapp.transactions : holds everything related to current DApp's transactions
    • type: VETransactionsList object

  • dapp.config : holds everything related to the DApp's configurations
    • type: VEConfig object

  • dapp.wallets : holds instances of available DApp's wallets
    • type: VEWalletsList object

  • dapp.pro : alias of dapp.provider

  • dapp.sig : alias of dapp.signer

  • dapp.con : alias of dapp.contracts

  • dapp.txs : alias of dapp.transactions

  • dapp.isSafe : contain the safety state of the DApp, see Safers
    • type: Reactive object

Methods

  • dapp.onSafe(callback) : calls callback() when DApp is safe, see Safers

Components

  • dapp.OnSafe : render encapsulated slot when DApp is safe, see Safers

Released under the MIT License.