Shutter Network

Shutter Network

Official
shutter-network

Encrypts messages that can only be decrypted after a specific future time using Shutter Network's decentralized timelock system. Supports natural language time parsing for setting unlock times.

310 viewsRemote

What it does

  • Encrypt messages with time-delayed decryption
  • Parse natural language time expressions to timestamps
  • Check decryption status of timelock messages
  • Decrypt messages after timelock expires
  • Convert time expressions to Unix timestamps

Best for

Sealed bid auctions and competitive submissionsScheduled announcements and time-sensitive revealsTrustless time-delayed communicationsDecentralized voting with hidden ballots
Decentralized threshold cryptographyNatural language time parsingTrustless time-delayed decryption

Tools (6)

get_current_time

Get the current date and time in UTC.

get_unix_timestamp

Get Unix timestamp for a given time expression or current time. This tool helps convert natural language time expressions to Unix timestamps that can be used with the Shutter API. Args: time_expression: Time to convert. Can be: - "now" for current time - Natural language like "3 months from now", "1 year from now" - Absolute dates like "2024-12-25" Returns: JSON string with Unix timestamp and human-readable date

timelock_encrypt

Encrypt a message with timelock encryption using Shutter Network. This tool encrypts a message that can only be decrypted after a specified future time. The encryption is handled by the Shutter Network's decentralized keypers using threshold cryptography. IMPORTANT FOR LLM: This tool accepts BOTH Unix timestamps AND natural language time expressions. - Unix timestamps: Use numeric values like "1721905313" for precise future times - Natural language: Use expressions like "3 months from now", "1 year from now" - Absolute dates: Use formats like "2024-12-25" or "January 15, 2025" The Shutter API works with Unix timestamps internally. When users provide natural language, this tool converts it to Unix timestamps automatically. WORKFLOW: The LLM should directly call this tool with the user's time expression. No need to call get_unix_timestamp first - this tool handles all time parsing. Args: message: The text message to encrypt unlock_time: When the message can be decrypted. Accepts: - Unix timestamp (e.g., "1721905313") - Natural language (e.g., "3 months from now", "1 year from now") - Absolute date (e.g., "2024-12-25", "January 15, 2025") Returns: JSON string with encrypted data and instructions for future decryption

check_decryption_status

Check if a timelock encrypted message is ready for decryption. Args: identity: The identity returned from timelock_encrypt Returns: JSON string with status of the timelock and whether decryption is available

decrypt_timelock_message

Decrypt a timelock encrypted message if the timelock has expired. Args: identity: The identity returned from timelock_encrypt encrypted_data: The encrypted data returned from timelock_encrypt Returns: JSON string with the decrypted message or error if timelock hasn't expired

Alternatives