Socket
Socket
Sign inDemoInstall

@rumblefishdev/eth-signer-kms

Package Overview
Dependencies
Maintainers
2
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@rumblefishdev/eth-signer-kms

Web3 provider that derives address and signs transactions using [AWS KMS](https://aws.amazon.com/kms/).


Version published
Weekly downloads
653
decreased by-19.88%
Maintainers
2
Weekly downloads
 
Created
Source

@rumblefishdev/eth-signer-kms

Web3 provider that derives address and signs transactions using AWS KMS.

Install

$ npm i @rumblefishdev/eth-signer-kms

Requirements

aws-sdk

In order to work properly AWS KMS managed key must be:

  • asymmetric
  • able to sign and verify
  • ECC_SECG_P256K1 specified

Usage

* Before use, make sure that AWS SDK is properly configured! Find out how to do it here.

KMSProvider can be used as a standalone Web3 provider and within Truffle config. It's based on @truffle/hdwallet-provider so wallet non-related params (providerOrUrl, shareNonce, poolingInterval and chainId) remain the same.

keyId can be obtained via KMS package of aws-sdk or directly via AWS console.

Parameters:

ParameterTypeDefaultRequiredDescription
keyIdstringnull[x]Key ID of AWS KMS managed private key.
providerOrUrlstring/objectnull[x]Official doc
shareNoncebooleantrue[ ]Official doc
pollingIntervalnumber4000[ ]Official doc
chainIdnumber/stringundefined[ ]Official doc

Examples

Truffle usage example - TODO Web3 provider usage - TODO

Credits:

@lucashenning @truffle team

FAQs

Package last updated on 25 Jun 2021

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