This project contains all the functions needed to retrieve the parameters required to perform a proof of concept.
This repository also contains all the data included in the paper and any additional data required in the PoC_Execution
folder:
paper.pdf
), which is the message to be signed.getDeliveryData.js
).idData
) contained in the script, including @A, @B, @SC, tm, and td.id
, f(C)
.k
, IV
, and HMAC
.C.pdf
) and the decrypted file (decrypted.pdf
).In addition, this repository contains the PoC_Transaction_Data
folder which includes several scripts to retrieve the transaction data from the Sepolia testnet.
PoC_Execution
folder and run npm install
to install the required dependencies.PoC_Transaction_Data
folder, run npm install
to install its dependencies.PoC_Execution
folder.parameters.js
and set up the notification data (idData
) and the @A, @B ECC keys.node getDeliveryData.js
to execute the script and retrieve the data.Once the functions of the smart contract have been executed, the transaction data of each function can be recovered by following these steps:
PoC_Transaction_Data
folder.parameter.js
and set the transaction hashes relative to the accept
and publish
functions.There are several scripts to choose from, each displaying different transaction data:
functionInputs&Logs.js
: Displays the parsed inputs and logs of the accept
and publish
functions.transactionReceipt.js
: Shows the transaction receipts of the accept
and publish
functions.transactionReceiptLogs.js
: Shows the transaction receipt logs of the accept
and publish
functions.transactionResponse.js
: Displays the transaction response of the accept
and publish
functions.To run a particular script, simply run node <file.js>
, where <file.js>
is one of the previous scripts to retrieve the desired transaction data (e.g. node transactionReceipt.js
).