how to open tronlink wallet from chrome browser programmatically

2.1k Views Asked by At

I have installed tron link wallet extenstions in google chrome browser. I have a web application. I need to open this tron wallet from browser to do transaction. I do not need to open tronlink extension in pop-up window. It is OK if it is opening in either new tab or in the same tab. This question might be duplicate of How can I open my extension's pop-up with JavaScript? or Activate popup.html from Content Script: Chrome Extension Development. But I am not getting clear answer there. My question is, Is it possible to open tronlink wallet from chrome browser by a click ? If we can, how to do it.

1

There are 1 best solutions below

0
On

If you have a web application that need do Tron transaction (called DAPP) you can use Tron web API ( in javascript ) :

tronWeb.transactionBuilder.sendTrx(to, amount, from, options);

Full API reference