https://github.com/thesmartnik/devise-web3-vue
https://github.com/thesmartnik/devise-web3-vue
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/thesmartnik/devise-web3-vue
- Owner: TheSmartnik
- Created: 2025-09-16T11:28:06.000Z (9 months ago)
- Default Branch: master
- Last Pushed: 2025-09-16T19:24:23.000Z (9 months ago)
- Last Synced: 2025-09-16T22:00:04.700Z (9 months ago)
- Language: Vue
- Size: 47.9 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# devise-web3-vue
A Vue component for Web3 wallet authentication with `devise` and [devise-web3](https://github.com/TheSmartnik/devise-web3)
## Installation
```
npm install devise-web3-vue
```
or
```
yarn add devise-web3-vue
```
## Usage
1. Import component
```js
import { ConnectWallet } from 'devise-web3-vue'
import 'devise-web3-vue/style.css'
```
2. Create 3 functions
`getNonce` -- function that fetches nonce through API
`onSign` -- function that posts credentials through API
`onLogin` -- any effects after login
3. Use component
```vue
```
## License
MIT