Skip to content

flippingalgos/algorand-session-wallet-nextjs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

algorand-session-wallet-nextjs

Upgraded to work on Next JS 11.x / Added Native pera-connect / Native defly-connect / Native Daffi Wallet

a merged blend of: https://github.com/barnjamin/algorand-session-wallet-example and https://github.com/matamicenclimate/algorand-session-wallet2 and some other changes along the way.

yarn add algorand-session-wallet-nextjs
npm -i algorand-session-wallet-nextjs
const sw = new SessionWallet("TestNet", "algosigner-wallet")
if(!sw.connect()) return alert("Couldnt connect")

//...

const accts = sw.accountList()

//...

sw.signTxn([txnblobs])

//...

sw.disconnect()

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published