2022 Developer Survey is open! Take survey.

New answers tagged

0 votes

What is the relationship between the seed phrase and the private key?

Given a wallet address, and a mnemonic key, is it possible to compute the private key? If you have the mnemonic, it's possible to compute a number of private keys, and their corresponding addresses. ...
user avatar
  • 1,041
0 votes

How do I withdraw Ether from my Chainlink node

The current version of the Chainlink node (1.3.0) stores the keys in the PostgreSQL database. To read them, execute the following query: select encrypted_keys from encrypted_key_rings; To decrypt the ...
user avatar
  • 101
0 votes

Web3 Transaction working on Metamask but not on Trust wallet

I found on web3js. Try this const web3 = new Web3(Web3.givenProvider || new Web3.providers.HttpProvider('http://localhost:8545')); *change http://localhost:8584 with your RPCurl like: https://bsc-...
user avatar
0 votes
Accepted

Is it possible to send testnet eth from one testnet network to another?

No, it's not possible. However, Ethereum test networks differ in consensus mechanism. Ropsten is a Proof of Work (PoW) Test network, while Kovan, Goerli and Rinkeby are Proof of Authority (PoA) Test ...
user avatar
0 votes

Read Metamask Firefox vault binary file

I wrote a script that can recover the Vault data from the Firefox Metamask extension's .sqlite file. The .sqlite files of firefox extensions contain a table called 'object_data' which contains a ...
user avatar
  • 8,927
1 vote

How the centralized exchanges handle deposits?

Your observations are all correct, each exchange choses its preferred way of handling, but most I've seen use an EOA. Externally Owned Account To lower costs, the exchange can postpone the withdrawal ...
user avatar
  • 1,281
0 votes

How to get the private key from seed phrase and account number generated by Coinbase Commerce?

There is a website which provides you the public addresses and private keys that mnemonic will generate. Try that. Maybe you can find that address and its respective private key. https://iancoleman.io/...
user avatar
0 votes

Is it possible to send testnet eth from one testnet network to another?

No that's not possible since they are independent. ETH are minted as a reward for miners and therefore always stay on the chain they were minted for. (It could be that there is some kind of bridge for ...
user avatar
1 vote

How to generate and remember, or to be able to deduce, the private keys of a few millions of addresses?

ganache-cli -m "my seed phrase seedy seedo phrase phrase" -a 1000000. should work. The -a gives you that many accounts and the quotes after -m are you're seed phrase. Don't know if 1M is ...
user avatar
  • 3,089
0 votes

Creating Metamask wallets using a script

Metamask uses "Hierarchical Deterministic Wallets", see What is a HD wallet for Ether and how to create one using nodejs?. There are several libraries that you can use to manage and create ...
user avatar
  • 29.2k
0 votes

View all NFTs owned by specific Ethereum wallet

Lazy way 1 : go to a large NFT market place (eg the not so great opensea) and lookup the address or use this link: https://opensea.io/{{wallet address here}} Lazy way 2: same as 1 but etherscan (or ...
user avatar
  • 161
0 votes

Tracking token ownership off chain?

That's easy, you're the owner, you're the custodian. If you would like to track the beneficial owner, you can use Excel, PHP, or any other technology you would like to record who you think should own ...
user avatar
0 votes

View all NFTs owned by specific Ethereum wallet

This is not possible and in my opinion a fundamental design flaw. Given an ETH address, the only way to enumerate all NFTs it owns is to crawl the ETH blockchain like opensea.io does
user avatar
  • 101
0 votes

Library for a local encrypted wallet

Is there any wallet/library that restricts access to a private key through encryption, but also allows certain actions to be performed by default, such as signing messages? Such thing does not exist.
user avatar
2 votes

Open Source projects that serve wallets as APIs

I'm working on a CLI wallet https://0xweb.org, also this is a contract package manager for NodeJS. Though this is a side project, which we decided to open source, it is already completely functional. ...
user avatar
  • 173
0 votes
Accepted

How would I make my chain "Metamask compatible"

Supporting the standard web3 JSON RPC should be enough https://eth.wiki/json-rpc/API. To known exactly what commands are required you could use ganache to log the command sends by Metamask to the ...
user avatar
  • 29.2k
0 votes

How to deploy smart contract using truffle and ropsten with Metamask account

It looks fine, my guess is that there's an issue with rpcURL. Double check you're connecting to the correct URL. Try using https://ropsten.infura.io/, maybe there's an error with your node. Try ...
user avatar
  • 1,281
1 vote
Accepted

Having trouble executing swapExactTokensForTokens on a uniswap contract?

You're calling swapExactTokensForTokens function from your contract, so the msg.sender in this context is address of the contract. When Uniswap's router tries to transfer tokens it calls transferFrom(...
user avatar
  • 26
1 vote

Is there a way to avoid fees when moving funds from one wallet to another?

There's no way to avoid fees on Ethereum or other similar forks. The minimum transaction gas use is 21000, that's also the gas cost of a basic value transfer transaction. That's also true for the ...
user avatar
  • 1,281
0 votes

How can I deploy my smart contract with someone else's wallet?

Have the developer teach you how to deploy. If they developer deploys using their wallet then now or later, that developer will be able to claim they are the "owner" of the contract and ...
user avatar
0 votes

Why Ethereum based Dapps don't use WebAuthn

It is just a matter of time. Of equal importance is likely the convenience issue of getting the user to export their key from metamask to WebAuthn or whatever (maybe both can be supported in apps?). ...
user avatar
  • 391
1 vote
Accepted

How does an Ethereum wallet recover the list of assets it holds when restoring from a seed phrase?

Wallets like Metamask have a list of tokens to check when importing a wallet. All tokens outside of this list won't be shown on the UI, hence the 'Import Tokens' option.
user avatar

Top 50 recent answers are included