@freysa/saf
TypeScript icon, indicating that this package has built-in type declarations

0.0.13 • Public • Published

README

Run examples

Navigate to examples directory.

Example server

pnpm dev

Token transfer using Private Key signing and Safe Signing

For Safe Signer make sure to you have a running gRPC signer server. A mock server can be started using. It will sign a safe signature using the private key in environment variable PRIVATE_KEY.

pnpm grpcMockEthSigner

To execute sample transfers

pnpm transfer

Build from source

pnpm install
pnpm build

Tests

There are unit tests as well as integration tests some of which requires API token. Make sure to create .env.test with environment variables required for the integration tests.

To run tests

pnpm test

Logs

socat TCP-LISTEN:12345,fork -

Deploy NPM package

Update version in package.json

npm login
pnpm build
npm publish

Readme

Keywords

none

Package Sidebar

Install

npm i @freysa/saf

Weekly Downloads

22

Version

0.0.13

License

none

Unpacked Size

16.1 MB

Total Files

93

Last publish

Collaborators

  • asdfx111
  • gustavofrings
  • behelitx
  • 0xdemureness