Skip to content

Commit

Permalink
updates according cardano-foundation#601
Browse files Browse the repository at this point in the history
  • Loading branch information
Scitz0 committed Oct 17, 2023
1 parent f7fa913 commit 3982706
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CIP-0104/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ This CIP extends [CIP-30 (Cardano dApp-Wallet Web Bridge)](https://cips.cardano.
Normally it's up to the wallet to handle the logic for utxo selection, derived addresses etc through the established CIP-30 api. Sometimes however, dApp needs greater control due to subpar utxo selection or other specific needs that can only be handled by chain lookup from derived address(es). This moves the control and complexity from wallet to dApp for those dApps that prefer this setup. A dApp has better control and can make a more uniform user experience. By exporting only the account public key, this gives read-only access to the dApp.

## Specification
A new endpoint is added namespaced according to this cip extension number that returns the connected account extended public key as [cbor\<T>](https://cips.cardano.org/cips/cip30/#cbort) defined in CIP30.
A new endpoint is added namespaced according to this cip extension number that returns the connected account extended public key as [`cbor<T>`](https://cips.cardano.org/cips/cip30/#cbort) defined in CIP30.

### 1. api.cip104.getAccountPub(): Promise\<cbor\<Bip32PublicKey>>
### 1. `api.cip104.getAccountPub(): Promise<cbor<Bip32PublicKey>>`

Errors: APIError

Expand Down

0 comments on commit 3982706

Please sign in to comment.