What do you want to save?
Add Code snippet
New code examples
-
Javascript 2022-03-24 21:35:23
check web3 metamask disconnect
// The following code snippet is in React // but you can use the window.ethereum.on("accountsChanged") event // in regular JavaScript // Note: I believe window.ethereum is only available if using Metamask // as your web3 provider useEffect((... Add solution -
Other 2022-01-31 20:45:16
ethereum miner
1. Install Geth, (Make sure its an SSD because it won't work with an HDD) (I recommend to create an Ethereum Folder and inside a Geth folder on the drive you are using and install it there) link to geth: https://geth.ethereum.org/downloads 2. ad... Add solution -
Other 2021-10-28 19:41:15
mining from cli
brew tap ethereum/ethereum brew install ethereum Add solution -
Shell/Bash 2021-10-16 13:23:06
open gas less example
$ mkdir gsn-dapp && cd gsn-dapp $ npm init -y $ npm install @openzeppelin/network $ npm install --save-dev @openzeppelin/gsn-helpers @openzeppelin/contracts-ethereum-package @openzeppelin/upgrades @openzeppelin/cli ganache-cli Add solution -
Other 2021-10-09 21:18:12
how to mine ethereum
1. Install Geth, (Make sure its an SSD because it won't work with an HDD) (I recommend to create an Ethereum Folder and inside a Geth folder on the drive you are using and install it there) link to geth: https://geth.ethereum.org/downloads 2. ad... Add solution -
Javascript 2021-09-22 06:51:01
Web3 Example
// Here's how we would access our contract: var abi = /* abi generated by the compiler */ var ZombieFactoryContract = web3.eth.contract(abi) var contractAddress = /* our contract address on Ethereum after deploying */ var ZombieFactory = ZombieFactoryCont... Add solution
Best helpers
Erica Price
+5
Scoiattolo
+5
Vigrond
+5
Muazam
+5
Emmet
+5
A G Davey
+5
Arad
+5
Meital Regev
+5
Entrepreneur
+5
Majte
+5
JoshuaFicy
+5