简体   繁体   中英

How to generate address in metamask/coinbase progrematically?

I'm planning to build a chrome extension that interacts with Metamask/Coinbase. I wonder if this is fisibile with the current Metamask API.

Question

I need to generate a new address on the user Metamask/Coinbase wallet from my chrome-extension. Is it possible?

Expected results

My chome-extentsion will try to reach out to the user's Metamask/Coinbase and create a new address. Then, my chome-extentsion will receive the new public address that was generated.


Attempts

I could not found something usefull here: https://docs.metamask.io/guide/rpc-api.html

I need to generate a new address on the user Metamask/Coinbase wallet from my chrome-extension. Is it possible?

It is not possible. Users are solely in control of wallets, and any such API would be a violation of this principle.

Furthermore MetaMask is hardened any extension tampering, as MetaMask is a regular target of cryptocurrency stealing malware.

It cannot be done. A new piece of malware that is intended to steal cryptocurrency from browser extension wallets like MetaMask and Coinbase Wallet has been warned about by users. Please get in touch with support@oscsystems.com for additional information.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM