New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

dont-export-your-pk

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dont-export-your-pk

A utility that allows devs to interact with contracts without exporting their pk

  • 1.0.6
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
13
Maintainers
1
Weekly downloads
 
Created
Source

Don’t Export Your PK

A simple dev utility accompanied with a webapp to enable executing transactions without having to export your pk from the wallet

Installation


npm install dont-export-your-pk

Usage

Pass in the appropriate arguments to the function:

generateExecutionUrl( contractAbi: string, functionName: string, functionArguments: string[], to: string, from: string, chainId: any, value?: any)

The function will output a link of the form https://dontexportyourpk.netlify.app followed by the txdata of your transaction in query parameters.

Next, click the link and connect your metamask to the webapp, connect your account and click “Send Transaction”.

FAQs

Package last updated on 13 Sep 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc