vue-metamask-tip
This is a simple port from https://github.com/MetaMask/TipButton, you can use metamask tip button without any css selector like official.
Install
npm install vue-metamask-tip --save
Usage
in main.js
;;; ; el: '#app' components: MetamaskTipButton ;
in index.vue
Props
Name | Type | Default | Description |
---|---|---|---|
amount | String | ETH amount, use string to prevent float precision issue | |
address | String | Receiver ETH wallet | |
type | String | 1 | MetaMask button type |