0.0.13 • Published 7 months ago
@freysa/saf v0.0.13
README
Run examples
Navigate to examples directory.
Example server
pnpm devToken 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 grpcMockEthSignerTo execute sample transfers
pnpm transferBuild from source
pnpm install
pnpm buildTests
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 testLogs
socat TCP-LISTEN:12345,fork -Deploy NPM package
Update version in package.json
npm login
pnpm build
npm publish