Repository navigation
|
Hi all, I am trying to get aergolite to work, but I'm afraid I'm having difficulty understanding the instructions on the README. Right now, I am working with the "sqlite3" command shell just to get it working, before moving on to using aergolite in an application. I managed to compile the repo without difficulty. I run the "sqlite3" command on my terminal and then I run the following command:
I can then run "PRAGMA blockchain_status;" and can see that there is an unauthorized node reported. I try to authorize the node using:
For the public key I use the value reported as the pubKey from the previous blockchain_status command. However, this simply returns "Error: signature failed". Am I not doing this process correctly? Also, where are the keys stored? I see no new files in my directory other than those created by aergolite (-consensus, -local, -wal, -shm, etc.). Is the first node created not the blockchain administrator? Any help will be greatly appreciated. Thanks in anticipation. |
Replies: 1 comment
|
Please read this section: You need to either use a Ledger Nano S or implement the code to sign transactions on your Go app. Only the first option works with the Then later you can check these sections: And these Bootstrapping instructions |
Please read this section:
Signing transactions
You need to either use a Ledger Nano S or implement the code to sign transactions on your Go app. Only the first option works with the
sqlite3shell. Notice that the sample code for Go does not include code for signing a transaction, you need to implement it yourself, using elliptic curve secp256k1.Then later you can check these sections:
Blockchain Administrator
Node Discovery
And these Bootstrapping instructions