├── index.js ├── demo.png ├── .gitmodules ├── generator ├── template │ └── src │ │ ├── web3 │ │ ├── constants.dev.js │ │ ├── constants.js │ │ ├── tools.js │ │ ├── config.js │ │ ├── chains.js │ │ └── abis.js │ │ └── hooks │ │ └── useWallte.js ├── example │ └── src │ │ ├── App.vue │ │ └── components │ │ └── ConnectWallteExample.vue └── index.js ├── package.json ├── prompts.js └── README.md /index.js: -------------------------------------------------------------------------------- 1 | module.exports = (api, options = {}) => {} 2 | -------------------------------------------------------------------------------- /demo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZHUIMEN/vue-cli-plugin-web3modal/HEAD/demo.png -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- 1 | [submodule "example"] 2 | path = example 3 | url = git@github.com:ZHUIMEN/vue-web3modal-example.git 4 | -------------------------------------------------------------------------------- /generator/template/src/web3/constants.dev.js: -------------------------------------------------------------------------------- 1 | 2 | // Rinkeby Contract address on testnet 3 | export const USDT_ADDRESS = ""; -------------------------------------------------------------------------------- /generator/template/src/web3/constants.js: -------------------------------------------------------------------------------- 1 | // Contract address on the official website 2 | 3 | export const USDT_ADDRESS = ""; 4 | -------------------------------------------------------------------------------- /generator/example/src/App.vue: -------------------------------------------------------------------------------- 1 | --- 2 | extend: '@vue/cli-service/generator/template/src/App.vue' 3 | replace: 4 | - !!js/regexp /