Skip to content

Latest commit

 

History

History
47 lines (33 loc) · 852 Bytes

README.md

File metadata and controls

47 lines (33 loc) · 852 Bytes

Taquin Browser Extension

Connected Sites Usage

Connecting to site.

window.tolar.enable();

Sending transactions

Introduced method for sending transactions for approval to the extension.

window.tolar.request({
  method: "taq_sendTransaction",
  params: [
    {
      sender_address: "5484c512b1cf3d45e7506a772b7358375acc571b2930d27deb",
      receiver_address: "54a42e22bb80ca05efe17e33a3b9ec16d31783840d1f397f6c",
      amount: 1,
      gas: 21000,
      gas_price: 1,
      data: "",
    },
  ],
});

Other methods

window.tolar.request() can be used for invoking any gRPC method that is on safe list.

Development

Node version 10.16.0

Run the project yarn start

Run in development mode with react and redux dev tools yarn start:dev

Build the project in dist folder

yarn dist