lukechampine / walrus-cli Goto Github PK
View Code? Open in Web Editor NEWA client for the walrus wallet server
License: MIT License
A client for the walrus wallet server
License: MIT License
Does it really split outputs? It looks like all split funds are going to the same output again.
Please verify the transaction details:
28d80dc058e0766110c2c4c2aae67cfcc4bb1fed41e4740e949244adb20c5dcbb13c7d50232f receiving 99 SC
28d80dc058e0766110c2c4c2aae67cfcc4bb1fed41e4740e949244adb20c5dcbb13c7d50232f receiving 99 SC
...
28d80dc058e0766110c2c4c2aae67cfcc4bb1fed41e4740e949244adb20c5dcbb13c7d50232f receiving 49.99759 SC
When calling "addresses" for a new user, should print out a message that there are no addresses
I am used
have answer 12 words
then use in terminal for walrus and in terminal for walrus-cli
and then try to generate address
No index specified; using lowest unused index (0)
Using WALRUS_SEED environment variable
wrong number of words in seed phrase
It'd be nice if walrus-cli has a command to defrag small outputs command. It would solve this issue: lukechampine/muse#12.
module lukechampine.com/walrus-cli
go 1.13
require (
github.com/julienschmidt/httprouter v1.3.0
github.com/karalabe/hid v1.0.0 // indirect
gitlab.com/NebulousLabs/Sia v1.4.1
golang.org/x/crypto v0.0.0-20190701094942-4def268fd1a4
lukechampine.com/flagg v1.1.1
lukechampine.com/sialedger v0.0.0-20190804211231-0e9955f04f66
lukechampine.com/us v0.11.1
)
Allow users to send the max amount of Siacoins in their wallet, to avoid the dreaded Could not create transaction: insufficient funds
message.
It shows split's help text:
Line 242 in 861da9d
./walrus-cli -a http://127.0.0.1:9999 balance
0 SC
But my SI-UA show me 104 SC
Currently confusing, as it made me think that address and amount of Siacoins should be separated by commas, rather than by colons.
Creates a transaction sending containing the provided outputs, which are specified as a comma-separated list of address:value pairs, where value is specified in SC. The inputs are be selected automatically, and a change address is generated if needed.
Current Language
Transaction summary:
- 1 input, totalling 100 SC
- 1 output, totalling 79.98 SC
(plus a donation of 10 SC to the narwal server
(plus a change output, sending 17.59 mS back to your wallet)- A miner fee of 2.41 mS, which is 10 uS/byte
Suggested Language
Transaction summary:
- 1 input, totalling 100 SC
- 1 output, totalling 79.98 SC
- A donation of 10 SC to the narwal server (thank you!)
- A change output, sending 17.59 mS back to your wallet
- A miner fee of 2.41 mS, which is 10 uS/byte
We may want to also consider calling it a "fee" instead of a "donation"
Many people will likely want to use walrus-cli with Siafunds, especially with Ledger hardware wallets. Would be prudent to add Siafund support!
I got Could not create split transaction: insufficient funds
when I tried to split an output.
It looks like balance calculation has a problem. It says it only has 5SC
$ ./walrus-cli -a http://localhost:9380/ balance
5SC
but I think it should have 5K SC
$ curl http://localhost:9380/utxos
[
{
"value": "5000000000000000000000000000",
"unlockhash": "...",
"ID": "..."
}
]
Seems fee calculation has a problem.
It'd be nice if this has a subcommand that prints transaction logs.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.