@sovereign-financial/web3-vue
v1.4.1
Published
Vue 3 framework for building Web3 Ethereum Dapps
Downloads
7
Readme
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
| Section | Version | Comments | |---------|---------|-----------------------------------| | types | 1.1.0 | Already prepared for next version | | store | 1.0.0 | Tested and running | | core | 1.1.0 | Tested 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.