Skip to content

Instantly share code, notes, and snippets.

@Toxiapo
Created July 11, 2019 19:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Toxiapo/5e3cd25a39051d6f595b0dd3cd1433f3 to your computer and use it in GitHub Desktop.
Save Toxiapo/5e3cd25a39051d6f595b0dd3cd1433f3 to your computer and use it in GitHub Desktop.
ARDOR: Create a burningMessage with cURL(zero-fee transaction with expiration)
curl \
-F 'requestType=sendMessage' \
-F 'recipient=$recipientAddress' \
-F 'secretPhrase=$password' \
-F 'chain=ignis' \
-F 'message=$publicMessage' \
-F 'messageToEncryptIsText=true' \
-F 'encryptedMessageIsPrunable=true' \
-F 'referencedTransaction=2:dfe36cf9f8dff41f30f1cde92717ee6f1ac2c5342bba7d691b5e0b75a6bc5204' \
-F 'feeNQT=0' \
-F 'deadline=2' \
-F 'broadcast=true' \
-F 'messageToEncrypt=$data' \
https://testardor.jelurida.com/nxt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment