Skip to content

Commit

Permalink
feat: add kibisis client (#128)
Browse files Browse the repository at this point in the history
* feat: add kibisis client

* docs: update readme with kibisis support

* test: add mock kibisis cient to tests

* refactor: remove unnecessary genesis hash parameter when sending the sign_txns request

* ci: update tests and formatting to pass checks

* refactor: update types to reflect arc0013 account response

* refactor: rename references to arc-0013 to new proposed arc-0027

* fix: sign transaction logic changed to handle when there are no indexes to sign

* chore: run prettier

* refactor: change lower request timeout to 3 seconds
  • Loading branch information
kieranroneill authored Jan 25, 2024
1 parent 2bd8877 commit 279e49a
Show file tree
Hide file tree
Showing 11 changed files with 706 additions and 9 deletions.
17 changes: 13 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ npm install @blockshake/defly-connect @perawallet/connect @daffiwallet/connect

In the root of your app, initialize the `WalletProvider` with the `useInitializeProviders` hook.

This example initializes Defly, Pera, Daffi, Exodus, and Lute wallet providers. The default node configuration (mainnet via [AlgoNode](https://algonode.io/api/)) is used. See [Provider Configuration](#provider-configuration) for more options.
This example initializes Defly, Pera, Daffi, Exodus, Lute and Kibisis wallet providers. The default node configuration (mainnet via [AlgoNode](https://algonode.io/api/)) is used. See [Provider Configuration](#provider-configuration) for more options.

You can initialize your providers in two ways:

Expand Down Expand Up @@ -130,7 +130,8 @@ export default function App() {
id: PROVIDER_ID.LUTE,
clientStatic: LuteConnect,
clientOptions: { siteName: 'YourSiteName' }
}
},
{ id: PROVIDER_ID.KIBISIS }
]
})

Expand Down Expand Up @@ -179,7 +180,8 @@ export default function App() {
id: PROVIDER_ID.LUTE,
getDynamicClient: getDynamicLuteConnect,
clientOptions: { siteName: 'YourSiteName' }
}
},
{ id: PROVIDER_ID.KIBISIS }
]
})

Expand Down Expand Up @@ -498,6 +500,12 @@ useEffect(() => {
- Website - https://lute.app/
- Install dependency - `npm install lute-connect`
### Kibisis Wallet
- Website - https://kibis.is
- Download - https://kibis.is/#download
### KMD (Algorand Key Management Daemon)
- Documentation - https://developer.algorand.org/docs/rest-apis/kmd
Expand Down Expand Up @@ -667,7 +675,8 @@ export default function App() {
id: PROVIDER_ID.LUTE,
clientStatic: LuteConnect,
clientOptions: { siteName: 'YourSiteName' }
}
},
{ id: PROVIDER_ID.KIBISIS }
],
nodeConfig: {
network: 'mainnet',
Expand Down
7 changes: 5 additions & 2 deletions src/clients/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import kmd from './kmd'
import mnemonic from './mnemonic'
import { CustomProvider } from './custom/types'
import custom from './custom'
import kibisis from './kibisis'

export {
pera,
Expand All @@ -22,7 +23,8 @@ export {
kmd,
mnemonic,
custom,
CustomProvider
CustomProvider,
kibisis
}

export default {
Expand All @@ -36,5 +38,6 @@ export default {
[walletconnect.metadata.id]: walletconnect,
[kmd.metadata.id]: kmd,
[mnemonic.metadata.id]: mnemonic,
[custom.metadata.id]: custom
[custom.metadata.id]: custom,
[kibisis.metadata.id]: kibisis
}
Loading

0 comments on commit 279e49a

Please sign in to comment.