Skip to content

cryptotester/proton-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

proton-cli

This repository was forked from https://github.com/ProtonProtocol/proton-examples and contains commands to be used conveniently by command line.

For more information, check these APIs:

Copy .env.example to .env and set your account's PRIVATE_KEY and your default ACCOUNT (proton username). All other variables are optional. To test on testnet, set CHAIN=test.

Command line examples

Generally you run a command like this:

node filename.js

Example:

node sales.js

On Linux you can run them e.g. like this:

./sales.js

To see the usage and options of a command, add --help, e.g.:

node sales.js --help

# or:

./sales.js --help

Available commands

  • balances.js
  • buy.js
  • buy-ram.js
  • creator-balances.js
  • create-collection.js (you must edit the contents of this script before running it)
  • create-templates.js (you must edit the contents of this script before running it)
  • delist.js
  • ladder-sell.js
  • mint.js
  • nfts.js
  • relist.js
  • sales.js
  • sales-history.js
  • sell.js
  • send-nft.js
  • templates.js
  • withdraw.js

Disclaimer: under heavy development. Use at your own risk. Please submit bugs and even better submit PRs with the fix ;)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published