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:
sCrypt: Welcome
Open the welcome page
sCrypt: Run sCrypt Test
Run the current test file
sCrypt: Launch debugger
Launch the debugger through the launch.json file path
sCrypt: Launch debugger from TxContext
Use txid or rawTx to debug the contract that has been on the chain
sCrypt: Deploy Contract: Debug
Compile the current contract in debug mode and automatically open the contract deployment view
sCrypt: Deploy Contract: Release
Compile the current contract in release mode and automatically open the contract deployment view
sCrypt: Compile Contract: Debug
Compile the current contract in debug mode
sCrypt: Compile Contract: Release
Compile the current contract in release mode
sCrypt: View Script In Debugging
Open script view during debugging
sCrypt: Random Privkey
Randomly generate a private key
sCrypt: Privkey To Address
Print out the address corresponding to the private key
sCrypt: Privkey To PubKey
Print out the public key corresponding to the private key
sCrypt: Privkey To PubKeyHash
Print out the public key hash corresponding to the private key
sCrypt: Address To PubKeyHash
Print out the public key hash corresponding to the address
sCrypt: PubKeyHash To Address
Print out the address corresponding to the public key hash (you need to select the mainnet or the testnet)
sCrypt: Show Transaction ID
Print out the
txid
of the transaction in hex formatsCrypt: Get BSV From Faucet
Get testnet BSV from the faucet
sCrypt: Show Balance
Show balance