0.0.2 • Published 2 years ago

starknet-cli v0.0.2

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

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

  • pow
  • profiles
  • use profile
  • structure, ts, lint
  • profile select
  • cli tab autocomplete
  • declare
  • deploy
  • endpoints
0.0.2

2 years ago

0.0.1

2 years ago