-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Simple client demo #470
Simple client demo #470
Conversation
Neat, can you please add a simple-client-demo entry to snapcraft.yaml too, like https://github.com/solana-labs/solana/blob/master/snap/snapcraft.yaml#L48 |
multinode-demo/simple-client.sh
Outdated
@@ -0,0 +1,21 @@ | |||
#!/bin/bash | |||
# | |||
# usage: $0 <rsync network path to solana repo on leader machine> <number of nodes in the network???>" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove “number of nodes in the network” argument documentation?
Let's dumb it down. No Rayon, no GenKeys, pay provided amount to provided pubkey from provided private key. Formats for keys need to be discussed, but just serde JSON will be fine to get this PR merged. Feel free to pipe in a renamed mint.json (id.json?) for that private key. See solana-genesis for that code. |
Paying should also print the signature. Next step will be to check if that signature is in the bank. |
And can you rename to |
Everything I requested can come in as a separate PR. Merging to ensure you don't end up in rebase hell. |
Thanks, @garious ! |
* ff cleanup: reduce_stake_warmup_cooldown * update instruction comments to indicate stake config is unused
Toward #343
The user interaction could be automated, if that type of demo is preferred.
This does not seem to work with testnet.solana.com at present, but does work with a local leader/drone.