Replies - Activity - Cannikin - Algorand
Is there a way to sign into a website via "sign a message" in Algorand?
When check for mine I don’t pull from the pending pool (I didn’t even know there was such a thing!), I use the algosdk’s built-in method waitForConfirmation() that doesn’t return until either the transaction is confirmed, or it times out (you can tell it to wait for a number of blocks before giving …
Does the JS SDK support BigInt or not?
So the amount is a BigInt but the assetIndex is just an Integer, that worked for me.
What's the most up-to-date way (2022) to sign via WalletConnect and verify via algosdk?
Turns out the Algorand Wallet doesn’t support signing of messages (as of Jan 2022). 😐 Someone suggested a workaround where you send a $0 transaction with a note. You can then get that signed. Not ideal for UX (“why are they asking me to create a transaction for $0? Is this a scam?”), but kind of works.
Share WalletConnect session between client and server?
I can connect my wallet on that site, yes, but whenever I click any of buttons that are available, they all fail. In my wallet I see a real quick popup asking me to confirm but then it goes away on its own before I can even read it. It’s always done that since I found that app last week, so that’s n…
What format are these Buffers in?
That was it, thank you sir!
Share WalletConnect session between client and server?
After thinking about it I reached the same conclusion: there’s no security benefit to initiating those transactions from the server. It was just my old client/server brain being overly cautious! I already refactored to do everything in the browser and it’s working just fine. Thanks for the thorough …
Algoexplorer.io API returning 403 for some calls
I saw their notice up there about changing endpoints but didn’t realize they’d just remove basic calls like status(). Thanks for the note! Updated I ended up switching over the PureStake API and everything worked perfectly. I’m not sure I’m prepared to install and support my own node yet! 😅
Does the JS SDK support BigInt or not?
Looks like that created the transaction okay:
Transaction {
name: 'Transaction',
tag: <Buffer 54 58>,
from: {
publicKey: Uint8Array(32) [\
190, 193, 233, 33, 237, 144, 34, 252,\
49, 192, 150, 84, 37, 40, 85, 246,\
67, 32, 141, 204, 139, 205, 205, 174,\
53, 15…