zk-multi-sig
TypeScript icon, indicating that this package has built-in type declarations

0.1.1 • Public • Published

Mina zkApp: zk-multi-sig

contract for MultiSig Wallet.

How to integrate with third-party zkApps

For example, you can integrate authorization verification methods into zkOracles that require multi-signature wallet management:

import { MultiSigZkapp } from "zk-multi-sig";

export class MyOracle extends SmartContract {

	@method
	updateOraclePublicKey(permit: Permit, newPublicKey: PublicKey) {
		const multiWallet = new MultiSigZkapp(walletAddress);
		multiWallet.approvePermit(permit).assertTrue();

		// Other logic
		....
	}
}

How to build

npm run build

How to run tests

npm run test
npm run testw # watch mode

How to run coverage

npm run coverage

License

Apache-2.0

Package Sidebar

Install

npm i zk-multi-sig

Weekly Downloads

0

Version

0.1.1

License

Apache-2.0

Unpacked Size

150 kB

Total Files

64

Last publish

Collaborators

  • comdex