mirror of https://github.com/codesoap/atto.git
mirror of https://github.com/codesoap/atto
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
1 year ago | |
---|---|---|
README.md | ||
address.go | 1 year ago | |
balance.go | 1 year ago | |
block.go | 1 year ago | |
config.go | ||
go.mod | ||
go.sum | ||
main.go | 1 year ago | |
new.go | ||
util.go | 1 year ago |
README.md
WORK IN PROGRESS
TODO: Some way to check unconfirmed sends?! TODO: QR-Link for receival? TODO: QR-Link for sending?
Usage
$ # The new command generates a new seed.
$ atto new
D420296F5FEF486175FAA8F649DED00A5B0A096DB8D03972937542C51A7F296C
$ # Store it in your password manager:
$ pass insert nano
Enter password for nano: D420296F5FEF486175FAA8F649DED00A5B0A096DB8D03972937542C51A7F296C
Retype password for nano: D420296F5FEF486175FAA8F649DED00A5B0A096DB8D03972937542C51A7F296C
$ # The address command shows the address for a seed and account index.
$ pass nano | atto address
0: nano_3cyb3rwp5ba47t5jdzm5o7apeduppsgzw8ockn1dqt4xcqgapta6gh5htnnh
$ # The balance command will receive pending funds automatically. Note,
$ # that this includes balances from unconfirmed blocks.
$ pass nano | atto balance
1.3370 NANO
$ # Choosing a representative is important for keeping the network
$ # decentralized.
$ pass nano | atto representative nano_1jr699mk1fi6mxy1y76fmuyf3dgms8s5pzcsge5cyt1az93x4n18uxjenx93
$ pass nano | atto send 0.1 nano_11zdqnjpisos53uighoaw95satm4ptdruck7xujbjcs44pbkkbw1h3zomns5
Send 0.1 NANO to nano_11zdqnjpisos53uighoaw95satm4ptdruck7xujbjcs44pbkkbw1h3zomns5? [y/N]: y
$ atto -h
Usage:
atto n[ew]
atto [-a ACCOUNT_INDEX] r[epresentative] REPRESENTATIVE
atto [-a ACCOUNT_INDEX] a[ddress]
atto [-a ACCOUNT_INDEX] b[alance]
atto [-a ACCOUNT_INDEX] [-y] s[end] AMOUNT RECEIVER