@uniswap/signer
v0.0.4
Published
Uniswap package for securely signing messages.
Downloads
82
Keywords
Readme
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