'Ability to provide keypair to solana spl-token command
I'm performing a call of this CLI function
spl-token balance --token--
So it requires a keypair.json file to be present at this location ~ .config/solana/id.json (for Mac)
Without this file CLI throws an error
error: No such file or directory (os error 2)
Is there a way to specify a path to keypair or even better specify the whole file content (encoded or not) as a CLI param?
BTW this issue is not limited to just this command, most of spl-token cli commands I've tried has this issue.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
