Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/barnjamin/algorand-session-wallet
https://github.com/barnjamin/algorand-session-wallet
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/barnjamin/algorand-session-wallet
- Owner: barnjamin
- Created: 2021-08-07T13:17:30.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-07-21T18:11:26.000Z (over 2 years ago)
- Last Synced: 2024-03-25T09:22:35.660Z (10 months ago)
- Language: TypeScript
- Size: 536 KB
- Stars: 16
- Watchers: 5
- Forks: 5
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-algorand - Algorand Session Wallet - Session wallet to allow persisted wallet connections across multiple wallets. (Community Resources / Projects)
- awesome-algorand - Algorand Session Wallet - Session wallet to allow persisted wallet connections across multiple wallets (Developer Resources / Open-source Projects and Code Examples)
README
# algorand-session-wallet
*PRs welcome*
example: https://github.com/barnjamin/algorand-session-wallet-example
```sh
npm -i algorand-session-wallet
``````js
const sw = new SessionWallet("TestNet", "algosigner-wallet")
if(!sw.connect()) return alert("Couldnt connect")//...
const accts = sw.accountList()
//...
sw.signTxn([txnblobs])
//...
sw.disconnect()
```