Ledger Nano with mainnet - General - Algorand
Ledger Nano with mainnet
post by andrewmf on Aug 16, 2019
I recently sent over some Algo to my ledger in hopes of signing up for the 200m staking reward but have found troubles sending any transactions.
Does anyone have experience with this repo CoinFabrik/algorand-ledger? I’ve tried to send through the commands as well as running the webapp but haven’t found the correct JSON transaction format if even possible.
- Is there another alternative to sending transactions with a ledger I am unaware of?
- Is it even possible to join the staking reward with a ledger and if not, how can I transfer my coins to the mobile wallet?
- What is the genisisID for main-net if applicable and how can I adjust my examples below to get the desired output?
The first option I tired fails on send with ‘Amount must be a positive number and smaller than 2^53-1’:
{
"txn": {
"type": "pay",
"from": "my_wallet",
"to": "ZGP25YTZL3NF43SQZREMH5BRBTJEXHWPL6TSQDCGJWPEN4XJTIHVOZSOLA",
"fee": 0.001,
"amount": 0.000001,
"firstRound": 1305411,
"lastRound": 1306411,
"genesisID": "testnet-v31.0"
}
}
The second option I tried fails to sign with ‘Assertion failed’:
{
"txn": {
"type": "pay",
"from": "my_wallet",
"to": "ZGP25YTZL3NF43SQZREMH5BRBTJEXHWPL6TSQDCGJWPEN4XJTIHVOZSOLA",
"fee": {
"Raw": 1000
},
"amount": {
"Raw": 1
},
"firstRound": 1305411,
"lastRound": 1306411,
"genesisID": "testnet-v31.0"
}
}
post by mxmauro on Aug 22, 2019
Hi @andrewmf, I recommend you to switch to this new code: https://github.com/randlabs/algorand-tools
It has lots of utilities to work with transactions and also supports signing via Ledger.
We are also working on a library that works on browsers but we are experiencing issues on the latest Windows 10 release.
Once you download the new algorand-tools repo and install deps, you can use the apps located in the apps folder or use the libraries in the lib folder. Documentation is a work-in-progress but following the apps/sign.js utility, you will be able to realize how interaction with ledger works.
Feel free to ask further questions and provide feedback.
Regards,
Mauro.
post by andrewmf on Aug 22, 2019
Awesome I’ll definitely check it out and play around with your app. I resolved my issues earlier running a node and following the link I posted but good to know there are other options being developed
post by mxmauro on Jan 7, 2020
Hi again @andrewmf
Now you can fully use My Algo Algorand Hardware Wallet if you are looking for a user-friendly hardware wallet implementation on Algorand.
Regards,
Mauro.