@uniswap/signer
TypeScript icon, indicating that this package has built-in type declarations

0.0.4 • Public • Published

Signer

This package contains an abstract class AwsSigner, and its implementation KmsSigner that, given a KmsClient and a keyId, it provides methods for signing Ethereum transactions.

Testing

Here are the following commands to test the code in this package. Whenever making changes to this package we should run the manual integration tests to ensure that the changes are not breaking.

Unit tests

yarn test:unit

Integration tests

In order to run integration tests we need to run a local-kms service on port 8080. We can use nsmithuk/local-kms with docker.

Simply run, and make sure the container is running before executing the integration tests.

docker run -p 8080:8080 nsmithuk/local-kms
yarn test:integ

All tests

yarn test:all

Readme

Keywords

none

Package Sidebar

Install

npm i @uniswap/signer

Weekly Downloads

2,242

Version

0.0.4

License

MIT

Unpacked Size

48.4 kB

Total Files

27

Last publish

Collaborators

  • uniswap-labs-owner-account
  • uniswap-labs-service-account