@sovereign-financial/web3-vue
TypeScript icon, indicating that this package has built-in type declarations

1.4.1 • Public • Published

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.

Package Sidebar

Install

npm i @sovereign-financial/web3-vue

Weekly Downloads

5

Version

1.4.1

License

GPL-3.0

Unpacked Size

144 kB

Total Files

39

Last publish

Collaborators

  • mq-dev