1.0.5 • Published 1 year ago
mintme-rpc-web3js v1.0.5
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 !