My next goal is to create a version of this escrow site that accepts sepolia ERC-20s and not just sepolia ETH. I also think I should learn how to integrate open zeppelin.
61
sepolia eth escrow contract project
site: web3sepoliaescrow.web.app/
code: github.com/ShannyBabes/web3s…
web3sepoliaescrow.web.app/ ... might change something here or there.
33
and I'm using that component here, too:
11
Made it so you can see the time left in modern (Gregorian calendar?) time and not just "sepolia block" time.
web3sepoliaescrow.web.app/ ... might change something here or there.
1
8
web3sepoliaescrow.web.app/ ... might change something here or there.
Now I'm learning that I can indeed hardcode the ABI for the dynamically generated Escrow contracts into my react component. I thought I might have to use etherscan's api or something. thanks, chat-gpt.
Working now with ethers.js in a simple vite react app. Got some stuff working. But I wonder the best way to get the ABI for these dynamically created contracts for this escrow site. Will update here on what I go with.
39
Working now with ethers.js in a simple vite react app. Got some stuff working. But I wonder the best way to get the ABI for these dynamically created contracts for this escrow site. Will update here on what I go with.
remix has your back. if the function you're triggering will likely revert, it doesn't want you to lose your highly treasured sepolia eth. or w/e reason. testing escrow contracts means I should see this message when I try to withdraw eth before the specified time, though.
23
mining sepolia ETH on this pow faucet...sepolia-faucet.pk910.de/
this seems like the best route, although I had to set up a gitcoin passport first. also doing the other faucets that limit you to 0.05 or w/e a day...
26
It's not perfect, there are still some stuff that annoys me (sometimes the message appears when it shouldn't after a user locks the account - will look into fixing that) but here is the basic wallet connect flow (hosted via google's firebase):
web3walletexampletestsite.we…
24
So I've got a wallet connect flow going, and I think I've minimized some annoying parts of it:
1) the useEffect triggering the connectWallet() function (the function with "await window.ethereum.request({ method: 'eth_requestAccounts' });" in it) doesn't go on mount
1
16
So here's a stack overflow screenshot of the tldr re: this issue, with a couple suggestions on how to handle it from a user experience pov.
stackoverflow.com/questions/…
I don't love how when you have a useEffect opening M*t*mask when a user's on a page and the user closes the pop up, the user can no longer open M*t*mask from a <connectWallet/> button. They must go to the browser extension and open it from there.
11
I don't love how when you have a useEffect opening M*t*mask when a user's on a page and the user closes the pop up, the user can no longer open M*t*mask from a <connectWallet/> button. They must go to the browser extension and open it from there.
ok did a little tinkering and got ethers.js up and running on localhost using react. chatgpt I think hasn't been trained on v6+ of ethers.js and was advising certain things that aren't needed in v6.
1
10
Been working a little bit on a project idea. A motivation-tech project where users pledge crypto assets to a learning goal (i.e. I want to do french vocab lessons daily for 1 month) and if I don't do the lessons, my pledge assets are seized; if I do the lessons, I get them back
1
7
I tried getting Foundry up and running on my Mac, but kept getting OS error:32 when doing "forge test" or "forge build". Couldn't find a solution and am now suspecting it's because my macOS is 11.x and I might need a newer OS.
6












