@senswap/sen-scripts
TypeScript icon, indicating that this package has built-in type declarations

0.0.31 • Public • Published

sen-scripts

Convenient scripts for Sentre development

Version Downloads/week License

Usage

$ npm install -g @senswap/sen-scripts
$ sen-scripts COMMAND
running command...
$ sen-scripts (-v|--version|version)
@senswap/sen-scripts/0.0.31 linux-x64 node-v12.22.12
$ sen-scripts --help [COMMAND]
USAGE
  $ sen-scripts COMMAND
...

Commands

sen-scripts help [COMMAND]

display help for sen-scripts

USAGE
  $ sen-scripts help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help

sen-scripts payer [FILE]

Handle payer's keypair. Default file: ./dist/payer-keypair.json

USAGE
  $ sen-scripts payer [FILE]

OPTIONS
  -c, --config=config    Directory to the config file, soprox.config.js
  -f, --force            Force to overwrite the output
  -h, --help             show CLI help
  -l, --loose            Skip the process if the key exists
  -n, --network=network  devnet | testnet | mainnet | custom
  -s, --show             Read the payer keypair

See code: src/commands/payer.ts

sen-scripts program [FILE]

Handle program's keypair. Default file: ./dist/main-keypair.json

USAGE
  $ sen-scripts program [FILE]

OPTIONS
  -c, --config=config    Directory to the config file, soprox.config.js
  -f, --force            Force to overwrite the output
  -h, --help             show CLI help
  -l, --loose            Skip the process if the key exists
  -n, --network=network  devnet | testnet | mainnet | custom
  -s, --show             Read the program keypair

See code: src/commands/program.ts

sen-scripts senhub [PROJECT]

To build a DApp on Sentre Ecosystem

USAGE
  $ sen-scripts senhub [PROJECT]

OPTIONS
  -f, --force              Force to overwrite the output
  -h, --help               show CLI help
  -s, --ssh                Clone the senhub repo by ssh íntead of https
  -t, --template=template  Choose template. Default: senhub

See code: src/commands/senhub.ts

sen-scripts soprox [PROJECT]

Generate a no-config Rust-based smart contract template on Solana

USAGE
  $ sen-scripts soprox [PROJECT]

OPTIONS
  -f, --force              Force to overwrite the output
  -h, --help               show CLI help
  -t, --template=template  Choose template. Default: hello

See code: src/commands/soprox.ts

Readme

Keywords

Package Sidebar

Install

npm i @senswap/sen-scripts

Weekly Downloads

2

Version

0.0.31

License

MIT

Unpacked Size

24.4 kB

Total Files

16

Last publish

Collaborators

  • tphanson