Stark - Starknet JS CLI
CLI based on starknetjs. Experimental project.
Install
npm i -g starknet-cli
require node 16+
Usage
stark --help
Profile
Profile is record containing network configuration and user account.
You can setup multiple profiles.
Profile in non-encrypted stored in file.
You can edit it directly or use command stark setup
.
Default profile is configured for devnet.
You can select which profile to use before calling commands.
stark use devnet
Export
For project dev i need to export profile to caller terminal.
Only way i found it to be possible to do is with this command, piping to eval.
To export other profile replace testnet
stark export testnet | { eval "$(cat -)" }
Dev