New answers tagged

0

If you are a single individual with no programming skills, the best way to do this is to do it by hand. If you are a professional building a service, here is a description of payment forwarders that companies like Coinbase use.


0

If you have lost your seed phrase there is no way to get it back. This is the self-custodial part of crypto - you are responsible for securing the funds yourself.


0

Following code will do the job: // SPDX-License-Identifier: GPL-3.0 pragma solidity >=0.7.0 <0.9.0; contract TestContract { function checkBalance(address _address) public view returns(uint256) { return address(_address).balance; } function simpleTransfer(address _address) public payable { payable(_address).transfer(msg....


1

There is no way to tell just by looking at the string. You would need to look into the code to see the difference.


0

You should be able to access this using MyCrypto's Desktop app and then selecting Keystore file.


0

I'm not quite sure if there is web3 library for C++, but another way you can achieve this by using the Etherscan API. You need to register and obtain your api key and then you will be able to use the Etherscan API with certain limits. This is how you are going to build your GET request: https://api.etherscan.io/api?module=contract&action=getabi&...


0

If you use web3 you can use this way web3_instance.eth.getCode(address).then(function (code) { if (code === "0x") { // this address is account } })


1

Brave uses a different Mnemonic system from the rest of Ethereum wallets, so you need to get the private key instead. To get the Brave Wallet private key: Go to brave://wallet/crypto/accounts Click on the account name you want to export Click the Pencil icon on the right Click Private Key To import it into Metamask: Open your Metamask extension, click ...


0

if you just copy the files and paste them on a different browser extension or new one it'll just let you enter your password and access. Note i'm having troubles doing this from mozilla to mozilla atm, works from chrome to chromium


1

Everything is about probably of collision to happen. Fast answer, no you can't find a collision by chance (an existing randomly generated private key) as the probability is far too small. See this Reddit thread where people give some comparisons of the numbers and probability to find one by chance. The entire cryptographic world, almost every robust ...


1

Just go on the WETH contract page. In the contract tab, go to read contract and make a call to the balanceOf function with the address you wish to get the balance of.


0

They are not the same, they are 4 different addresses 0x7cB57B5A97Eabe94205c07890BE3C1aD31E486A8 0x7Cb57B5a97EaBe94205c07890bE4C1aD31E456a8 0x7cB57B5A97eAbe94205C07890BE4c1aD31E486A8 0x7CB57b5A97eabe94205C07890beaC1aD31E486a8


1

Please check this article - https://www.toptal.com/ethereum/one-click-login-flows-a-metamask-tutorial Basically, you can sign a message with a nonce (any value that changes every time you need to verify, e.g. timestamp) and send the signature to the backend for verification. On the backend, you should get the address used to generate the signature and ...


0

Metamask provides: eth_decrypt and eth_getEncryptionPublicKey. Together with eth-sig-util should help encrypt and decrypt messages.


Top 50 recent answers are included