Pinned Loading
-
-
How to get token or contract balance...
How to get token or contract balance with wallet public key 1//intitate web3 here
23export const getBalanceWithContract = async (address: string) => {
4let tokenContract = await new web3.eth.Contract(tokenAbi, address);
5let tokenBalance = await tokenContract.methods.balanceOf(WALLET_PUB).call();
-
How to get token decimals in web3
How to get token decimals in web3 1// initate the web3 here
23const getTokenDecimals = async (address: string) => {
4const tokenContract = await new web3.eth.Contract(tokenAbi, address);
5let decimals = await tokenContract.methods.decimals().call();
-
pedometer-using-kalmen-web
pedometer-using-kalmen-web PublicPedometer using Kalman filter, gathering data from acceleration sensor.
JavaScript 1
-
-
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.