Commands

In addition to integrated editing, debugging and other features, IDE also provides many commands, which can be manually executed through the command panel (Ctrl+Shift+P on Linux/Windows or Cmd+Shift+P on Mac OS).

All commands provided by IDE start with the prefix sCrypt:

  1. sCrypt: Welcome

    Open the welcome page

  2. sCrypt: Run sCrypt Test

    Run the current test file

  3. sCrypt: Launch debugger

    Launch the debugger through the launch.json file path

  4. sCrypt: Launch debugger from TxContext

    Use txid or rawTx to debug the contract that has been on the chain

  5. sCrypt: Deploy Contract: Debug

    Compile the current contract in debug mode and automatically open the contract deployment view

  6. sCrypt: Deploy Contract: Release

    Compile the current contract in release mode and automatically open the contract deployment view

  7. sCrypt: Compile Contract: Debug

    Compile the current contract in debug mode

  8. sCrypt: Compile Contract: Release

    Compile the current contract in release mode

  9. sCrypt: View Script In Debugging

    Open script view during debugging

  10. sCrypt: Random Privkey

    Randomly generate a private key

  11. sCrypt: Privkey To Address

    Print out the address corresponding to the private key

  12. sCrypt: Privkey To PubKey

    Print out the public key corresponding to the private key

  13. sCrypt: Privkey To PubKeyHash

    Print out the public key hash corresponding to the private key

  14. sCrypt: Address To PubKeyHash

    Print out the public key hash corresponding to the address

  15. sCrypt: PubKeyHash To Address

    Print out the address corresponding to the public key hash (you need to select the mainnet or the testnet)

  16. sCrypt: Show Transaction ID

    Print out the txid of the transaction in hex format

  17. sCrypt: Get BSV From Faucet

    Get testnet BSV from the faucet

  18. sCrypt: Show Balance

    Show balance