Skip to content

🌐 🔌 The MetaMask browser extension enables browsing Ethereum blockchain enabled websites

Notifications You must be signed in to change notification settings

dream-factory-code/metamask-extension

 
 

Repository files navigation

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

About

🌐 🔌 The MetaMask browser extension enables browsing Ethereum blockchain enabled websites

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 92.4%
  • SCSS 6.9%
  • Other 0.7%