Skip to content
View mohammadsadeghforoughi's full-sized avatar
🐱
Focusing
🐱
Focusing

Block or report mohammadsadeghforoughi

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse

Pinned Loading

  1. docker-essential-thought docker-essential-thought Public

  2. How to get token or contract balance... How to get token or contract balance with wallet public key
    1
    //intitate web3 here
    2
    
                  
    3
    export const getBalanceWithContract = async (address: string) => {
    4
      let tokenContract = await new web3.eth.Contract(tokenAbi, address);
    5
      let tokenBalance = await tokenContract.methods.balanceOf(WALLET_PUB).call();
  3. How to get token decimals in web3 How to get token decimals in web3
    1
    // initate the web3 here
    2
    
                  
    3
    const getTokenDecimals = async (address: string) => {
    4
      const tokenContract = await new web3.eth.Contract(tokenAbi, address);
    5
      let decimals = await tokenContract.methods.decimals().call();
  4. pedometer-using-kalmen-web pedometer-using-kalmen-web Public

    Pedometer using Kalman filter, gathering data from acceleration sensor.

    JavaScript 1

  5. react-blog react-blog Public

    A simple react blog using Mui 5, Redux and, TypeScript

    TypeScript 1

  6. react-gallery react-gallery Public

    A simple image gallery with React and SASS

    TypeScript