From da063a42f196a00787c06f82f91bdfe456ca1667 Mon Sep 17 00:00:00 2001 From: ehanoc Date: Tue, 13 Sep 2022 06:38:28 +0100 Subject: [PATCH] Remove unnecessary rotateVotingKeys and getVotingKeys --- CIP-0062/README.md | 34 ---------------------------------- 1 file changed, 34 deletions(-) diff --git a/CIP-0062/README.md b/CIP-0062/README.md index c2c68f5a34..2511950ed9 100644 --- a/CIP-0062/README.md +++ b/CIP-0062/README.md @@ -302,40 +302,6 @@ In either case, where the user declines to sign at least 1 of the votes, no sign `Bytes[]` - An array of the hex-encoded strings of the fully encoded and signed vote transactions. The dApp will submit these votes on behalf of the wallet. -## api.getVotingKeys(): Promise[]> - -Should return a list of all the voting keys for the current wallet. - -### Returns - -An array with the cbor hex encoded public keys. - -## api.rotateVotingKey(): Promise> - -This call should explicitly rotate the current in-use voting key. Given the current `address_index` in the derivation path defined in [CIP-36](https://cips.cardano.org/cips/cip36/), it should be incremented by 1. - -The key should be derived from the following path. - -```text -m / 1694' / 1815' / account' / role' / address_index' -``` - -`1694` (year Voltaire was born) Sets a dedicated `purpose` in the derivation path for the voting profile. - -`address_index` - index of the key to use. - -### Returns - -cbor hex encoded representation of the [public key](#publickey). - -## api.getCurrentVotingKey(): Promise\> - -Should return the current in-use voting [public key](#publickey). The wallet should maintain a reference to the current `address_index` counter and return the public key for that index. This call does NOT rotate the `address_index`. - -### Returns - -cbor hex encoded representation of the public key. - ## api.submitDelegation(delegation: Delegation): Promise\ Errors: [`APIError`](#extended-apierror),