Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/opensolutionsweb3/vue-waves-signer
Waves Signer implementation for Vue.js
https://github.com/opensolutionsweb3/vue-waves-signer
vue waves-signer
Last synced: 26 days ago
JSON representation
Waves Signer implementation for Vue.js
- Host: GitHub
- URL: https://github.com/opensolutionsweb3/vue-waves-signer
- Owner: opensolutionsweb3
- Created: 2020-01-22T00:15:32.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2022-01-22T10:21:42.000Z (almost 3 years ago)
- Last Synced: 2024-11-13T08:02:28.084Z (about 1 month ago)
- Topics: vue, waves-signer
- Language: JavaScript
- Homepage:
- Size: 78.1 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-waves - vue-waves-signer - Waves Signer implementation for Vue.js. (Frameworks and tools / Client libraries)
README
# Waves Signer implementation for Vue.js
## Helpfull links
* [Waves Signer methods](https://docs.wavesplatform.com/en/building-apps/waves-api-and-sdk/client-libraries/signer#methods)
* [Vue.js Waves Signer example](https://github.com/tltary/waves-signer-vue-example)
* [Vue.js Waves Signer demo](https://github.com/tltary/waves-signer-vue-example-demo)## How to install
```
$ npm i @opensolutions/vue-waves-signer --save
```## How to setup
```js
// add to main.js
import VueSigner from '@opensolutions/vue-waves-signer'// production version
Vue.use(VueSigner)// debug version
Vue.use(VueSigner, {
debug: true
})```
## If you need custom node url or provider
```js
Vue.use(VueSigner, {
node: '',
provider: ''
})```
## How to use
```js
// simple login function
methods: {
async login() {
await this.signer
.login()
.then((response) => {
console.log(response)
},
(error) => {
console.log(error)
})
}
}```