Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/adidem23/enchantmask
This is NPM Package Which Makes Interaction with Metamask Wallet Easier
https://github.com/adidem23/enchantmask
javascript json-rpc metamask npm-package utf-8
Last synced: about 2 months ago
JSON representation
This is NPM Package Which Makes Interaction with Metamask Wallet Easier
- Host: GitHub
- URL: https://github.com/adidem23/enchantmask
- Owner: Adidem23
- Created: 2023-12-25T16:08:13.000Z (about 1 year ago)
- Default Branch: Master
- Last Pushed: 2024-10-20T15:58:14.000Z (2 months ago)
- Last Synced: 2024-10-20T18:26:42.441Z (2 months ago)
- Topics: javascript, json-rpc, metamask, npm-package, utf-8
- Language: JavaScript
- Homepage:
- Size: 64.5 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
EnchantMask : Metamask Interaction based Npm Package
Table of Contents
## About The Project
## EnchantMask : Metamask Interaction based Npm Package
Enchantmask is an npm package designed to streamline interaction with MetaMask, providing developers with convenient methods to perform essential Ethereum-related tasks. By integrating Enchantmask into your project, you can effortlessly incorporate MetaMask functionality and enhance the user experience of your decentralized applications (DApps).## Key Features:
# 1.switchChain():
This method facilitates seamless switching between Ethereum chains, allowing users to effortlessly navigate different networks supported by MetaMask.# 2.getPublicEncryptionKey():
Retrieve the encryption key associated with the Ethereum account currently connected via MetaMask.# 3.connectAccount() :
Initiate a request for user accounts, prompting MetaMask to provide account information for transaction authorization.# 4.signMessage() :
Enable personal signing capabilities, allowing users to sign messages or transactions using their MetaMask accounts securely.# 5. getBlockNumber() :
Retrieve the latest block number on the Ethereum blockchain.... and Many More
# Built With
Metamask-api
- More Specifically it uses JSON-RPC API of Metamask and use some UTF-8 Conversions for some messages and it uses Javascript .
### Prerequisites
* npm
```sh
npm install npm@latest -g
```
* You May Require Metamask Wallet and Some Matic or Testnet Tokens Also and Some Cases NVM(NodeJS Version Manager) Also
* NodeJs
```sh
Download Nodejs Version ^ 18.0.0 LTS
```### Installation
Follow The Installation manual and install dependencies1.Install Directly From NPM
```sh
npm i enchantmask@lastest / npm i enchantmask@lastest --force (IF Any Error Occurs)
```# Read Docs At : https://enchant-docs.vercel.app/