n4n0gh/Pinata pin and gateway management
Manage your pinata pins and default gateway index
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
- Runtime
- Deprecated runtime
Inputs
| name | description | required | default |
|---|---|---|---|
| path | Path to file or directory you want to pin (string) | yes | ./dist |
| secret | Your Pinata secret (string) | yes | — |
| key | Your Pinata API key (string) | yes | — |
| token | Your Pinata JWT (string) | yes | — |
| pinName | Name of the pinned file (string) | yes | super cool ipfs pin |
| unpinOld | Whether or not to unpin an older pin with the same name (boolean) | no | false |
| gatewayName | The name of your target gateway (string) | yes | — |
| gatewayId | The Pinata internal Id of your gateway (string) | yes | — |
Outputs
| name | description |
|---|---|
| gateway | Returns the new gateway address of a successful pin |
| cid | Returns the CID of the built codebase |
| duplicate | Returns true if the pin was skipped |