How To Guides
How to drop an anchor
Ledger SDK allows users to drop anchors.
Dropping an anchor
Bellow is an example of how to drop anchor tel-123-usd
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>'
}
})
await sdk.anchor
.drop('tel-123-usd')
.hash()
.sign([{ keyPair: yourKeyPair }])
.send()
Useful links
- See About Anchors for more details about anchor concept.