-
π¨βπ» Iβm currently working on frontend web technologies using React and Typescript in the web3 space
-
π I'm learning as much as I can about front end and back end tech
-
π΅οΈββοΈ I am curious to discover and try new technologies when I can
-
π Fun Fact: I'm a big Carlton supporter in Aussie Rules football
Senior Software Engineer @ Immutable
-
Immutable
- Boston MA, USA
- https://zacharycouchman.com
- in/zacharycouchman
Pinned Loading
-
blog
blog PublicForked from mmistakes/minimal-mistakes
π Zach's Blog forked from Minimal Mistakes
JavaScript
-
ethereum-with-javascript-demo
ethereum-with-javascript-demo PublicA demo of how to interact with the Ethereum blockchain using Javascript and ethers js
JavaScript
-
-
dynamicallyLoadJSAndWait.js
dynamicallyLoadJSAndWait.js 1// dynamically load a script and wait for load event
2async function loadScript(url) {
3return new Promise((resolve, reject) => {
4let ourScript = document.createElement('script');
5 -
Get ERC20 token balance of a wallet
Get ERC20 token balance of a wallet 1import { ethers } from "ethers";
2import { formatUnits } from "ethers/lib/utils.js";
34const walletAddress = ""; // add the wallet address you want to check the balance of
5const rpcUrl = "https://eth-mainnet.g.alchemy.com/v2/demo;
-
Getting the ETH balance of a wallet
Getting the ETH balance of a wallet 1import { ethers } from "ethers"
2import { formatEther } from "ethers/lib/utils.js";
34const walletAddress = ""; // add the wallet address you want to check the balance of
5
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.