Skip to content

Ejayz/mintme-rpc-web3js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

image

Documentation on how to use index.js

Import index.js

const web3 = require("path/to/index.js");

Environment Variables Example

rpc_url= "Mintme RPC Url" senderPrivateKey= "Your Private Key" senderAddress= "Your address" password= "Wallet password"

Method List

This are the available method you can use in index.js

Y =Yes ,N=No

Methods Returns async
sendMintme(String toAddress,double amount) Promise:Json Data Y
addressTransfer(String toAddress,double amount,String contractAddress) Promise:Json Data Y
createWallet(String<=32 randomString) Promise:Json Data Y
amountContractCaculator(double amount) Int 12 digit gwie converted amount Y
getTransactionInfo(32bytes hash) Promise:Json Data Y
generateString(void) Random String 32 character string Y
amountMintmeCalculator(double amount) Int 18 digit gwie converted amount Y
getTransactionReceipt(string transactionHash) Promise:Json Data Y

More info will be updated here !

About

Web3.JS mintme transaction js file.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages