
Security News
GitHub Actions Checkout Now Blocks Risky pull_request_target Checkouts
GitHub Actions checkout now blocks risky pull_request_target checkouts by default to help prevent pwn request supply chain attacks.
@frinkly/web3-signature
Advanced tools
Web3 Signature Provider.
@frinkly/web3-signature is a typescript library part of the Request Network protocol.
Implementation of the signature provider from the web3 tools. The signature provider is used to make signature in the Request Network Protocol (e.g.: see Request Logic). This provider allows users to use Metamask to sign data.
It uses the Request Network Protocol concepts of Identity and Signature described in the request logic specification.
npm install @frinkly/web3-signature
import {
IdentityTypes,
SignatureTypes
} from '@frinkly/types'
import Web3SignatureProvider from '@frinkly/web3-signature'
// Identity from the previous signature parameter
const identityExample: IdentityTypes.IIdentity = {
type: IdentityTypes.TYPE.ETHEREUM_ADDRESS,
value: '0x627306090abab3a6e1400e9345bc60c78a8bef57'
};
// Construct the provider with a
const signatureProvider = new Web3SignatureProvider(web3.currentProvider);
// can sign data with identity
const dataToSign = { ... };
const signedData = signatureProvider.sign(dataToSign, identityExample);
/*
{
data: { ... },
signature: {
method: SignatureTypes.METHOD.ECDSA,
value: '0x...'
}
}
*/
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change. Read the contributing guide
FAQs
Signature provider using web3 ethereum library.
We found that @frinkly/web3-signature demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

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.

Security News
GitHub Actions checkout now blocks risky pull_request_target checkouts by default to help prevent pwn request supply chain attacks.

Product
Socket now supports Custom Roles and Repository Access Permissions so organizations can control who can access specific repositories and actions.

Product
Socket MCP now lets AI assistants review org alerts, investigate threats using the Socket threat feed, and inspect package files in addition to dependency scoring.