🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

pear-multisig-link

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pear-multisig-link

Deterministic multisig link per multisig inputs

latest
npmnpm
Version
1.0.1
Version published
Weekly downloads
9
200%
Maintainers
1
Weekly downloads
 
Created
Source

Deterministic multisig link per multisig inputs

Usage

In project root with a pear.json file:

npx pear-multisig-link

Custom config file:

npx pear-multisig-link --config path/to/pear.json

Passing in arguments:

npx pear-multisig-link [quorom] [namespace] [...publicKeys]

Help

pear-multisig-link [flags] [quorum] [namespace] <publicKeys...>

Print project multisig link determined by inputs

By default quorum, namespace and publicKeys values of the pear.json
multisig field determine the multisig link

Example - 2/3 must sign to approve
pear.json: {
  "multisig": {
    "publicKeys": ["<pubkey1>", "<pubkey2>", "<pubkey3>"],
    "namespace": "my-org/my-app",
    "quorum": 2
  }
}

Either --config or positional arguments may be specified, but not both

Arguments:
  [quorum]                      Optional. Number of required signers
  [namespace]                   Optional. Multisig namespace
  <publicKeys...>               Public keys of signers

Flags:
  --config [path=./pear.json]   Project pear.json config file - exclusive to arguments
  --help|-h                     Show help

Programattic

const multisigLink = require('pear-multisig-link')
import multisigLink from 'pear-multisig-link'
const link = multisigLink({
  publicKeys: ['pubkey1', 'pubkey2', 'pubkey3'],
  namespace: 'my-org/my-repo',
  quorum: 2
})

License

Apache-2.0

FAQs

Package last updated on 03 Apr 2026

Did you know?

Socket

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.

Install

Related posts