https://github.com/aave/aip-uploader
https://github.com/aave/aip-uploader
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/aave/aip-uploader
- Owner: aave
- License: agpl-3.0
- Created: 2020-12-11T10:26:56.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-01-04T09:41:33.000Z (over 4 years ago)
- Last Synced: 2025-04-12T10:04:28.933Z (about 2 months ago)
- Language: JavaScript
- Size: 19.5 KB
- Stars: 7
- Watchers: 6
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.MD
Awesome Lists containing this project
README
# AIP uploader
## Prerequisites
1. Sign up for an account at https://pinata.cloud/signup.
2. Get your Pinata API key and Pinata Secret API Key at https://pinata.cloud/account
3. Do not forget to verify your email
4. Get a **raw** copy of the AIP file from Github. E.g. https://raw.githubusercontent.com/aave/aip/Pending-AIPs/content/aips/AIP-3.md
5. Save the raw AIP file in the same directory as this uploader (e.g. `aipRawExample.md`)
6. Upload using the below commmand## How to use
In this directory:
- Fill the .env environment file with the title, short description and your Pinata keys.
- Run the following command
```
npm i && npm run upload
```When the operation completes, three files will be created:
- `ipfsHash` containing the IPFS hash of the document.
- `encodedIpfsHash` containing the encoded IPFS hash of the document, to be used to create the proposal transaction.
- `ipfsAipDoc.json` containing the IPFS document uploaded