1.4.1 • Published 2 years ago

@sovereign-financial/web3-vue v1.4.1

Weekly downloads
-
License
GPL-3.0
Repository
github
Last release
2 years ago

web3-vue

A Vue 3 version of web3-react, currently on development. You can follow the roadmap bellow.

Web3-Vue is a simple and extensible framework for building modern Ethereum Dapps.

The Vue 3 version is not splitted on packages and comes all in one solution since Sovereign Financial will be working in many other Vue 3 solutions at same time that will integrate with this package later, so in the future it will divide from the original web3-react path.

Version Control

SectionVersionComments
types1.1.0Already prepared for next version
store1.0.0Tested and running
core1.1.0Tested and running

Getting Started

npm install @sovereign-financial/web3-vue

yarn add @sovereign-financial/web3-vue

You can import the main function initializeConnector from the package as following:

import { initializeConnector } from  '@sovereign-financial/web3-vue'

It needs to be used as following manner:

const [connector, hooks] = initializeConnector<SomeConnector>(
  (actions, allowedChains: [1, 2, 32]) => new SomeConnector(actions, options)
)

For now this connector can be a class created by you (a EIP-1193 and EIP-1102 compliant provider as follow the types file in the sources). More connector will be created later on.