Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
encryptedFile --> ciphFile uploaded to IPFS
  • Loading branch information
matth-rambaud authored May 24, 2024
1 parent cdb3cd9 commit 517e122
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ In detail: the Creator uploads a secret content (`file`) in the graphical interf
2. **Storage on IPFS** :
- `encryptedFile` is uploaded on IPFS , and the `cidHash` (unique IPFS identifier of `encryptedFile`) is retrieved.
```javascript
const cidHash = await uploadFileToIPFS(encryptedFile);
const cidHash = await uploadFileToIPFS(ciphFile);
```

> Pinata (https://www.pinata.cloud/) is a cloud-based service that simplifies uploading and managing files on IPFS. It is used to upload files to IPFS through an API key.
Expand Down

0 comments on commit 517e122

Please sign in to comment.