nebulasio / wiki

This repository is out of date, please check the new wiki:
http://wiki.nebulas.io/en/latest/
GNU General Public License v3.0
421 stars 154 forks source link

能不能在前端web页面的js上拿到用户的钱包地址 #154

Open same4869 opened 6 years ago

same4869 commented 6 years ago

对于一个DAPP,想要在HTML加载完成时在 不打扰用户(不弹出钱包让用户发起一笔交易) 的情况下拿到用户的钱包地址(如果有),类似合约中的Blockchain.transaction.from 这种代码

yupnano commented 6 years ago

请参考https://github.com/ChengOrangeJu/WebExtensionWallet/issues/6

weiht12 commented 5 years ago

你好,此版本为星云旧版wiki(后期逐步停止维护),欢迎将您的问题提交星云新版wiki,以便于获得及时解答。同时,参与wiki的编辑维护工作还会有奖励哦。新版wiki链接:https://wiki.nebulas.io/en/latest/ (英文);https://wiki.nebulas.io/zh_CN/latest/ (中文) Hello, this version is the nebulas old wiki (later stop maintenance), welcome to submit your question to the new nebulas wiki, in order to get timely answers. At the same time, there will be rewards for editing and maintaining the wiki. New wiki link: https://wiki.nebulas.io/en/latest/ (English); https://wiki.nebulas.io/zh_CN/latest/ (Chinese)