Minka Ledger Docs
How To Guides

How to drop a signer from a circle


Ledger SDK allows users to remove signers from a circle.

Removing a signer from a circle

See How to assign a signer to a circle

Bellow is an example of how to remove signer test-signer from circle admin by using the Ledger SDK.

import { LedgerSdk } from '@minka/ledger-sdk'
 
const sdk = new LedgerSdk({
    server: '<your ledger URL>',
    signer: {
        format: 'ed25519-raw',
        public: '<your ledger public key>'
    }
})
 
const { circle } = await sdk.circle
    .with('admin')
    .signers
    .with('test-signer')
    .drop()
    .hash()
    .sign([{ keyPair: yourKeyPair }])
    .send()

On this page