Skip to main content

revoke_from_env

Function revoke_from_env 

Source
pub async fn revoke_from_env(non_interactive: bool) -> bool
Expand description

Revokes the Nautilus builder fee using environment variables.

Reads private key from environment:

  • Testnet: HYPERLIQUID_TESTNET_PK
  • Mainnet: HYPERLIQUID_PK

Set HYPERLIQUID_TESTNET=true to use testnet.

Prints progress and results to stdout.

§Arguments

  • non_interactive - If true, skip confirmation prompt

§Returns

true if revocation succeeded, false otherwise.