Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/vaibhav-systango/plugin-walletconnect


https://github.com/vaibhav-systango/plugin-walletconnect

Last synced: 26 days ago
JSON representation

Awesome Lists containing this project

README

        

Create an index.html file to test the bundle:



Web3Modal Test

Connect Wallet

Run Webpack to bundle your JavaScript:

npx webpack

Serve the HTML File Locally

Install http-server globally if you haven't already:

npm install -g http-server

Run the local server in your project directory:

http-server

Open your browser and navigate to the provided local server URL (e.g., http://localhost:8080).

TO Run this in PHP
Create the Plugin Directory:
Create a new folder for your plugin in the wp-content/plugins directory of your WordPress installation, e.g., web3modal-plugin.

Create the PHP Plugin File
Create the web3modal-plugin.php file with the following content:

Connect Wallet';
}
add_action('wp_footer', 'web3modal_add_button');