Socket
Socket
Sign inDemoInstall

permacast-cli

Package Overview
Dependencies
429
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    permacast-cli

CLI for Permacast V3


Version published
Maintainers
1
Created

Readme

Source

Permacast V3 CLI

CLI library for uploading content to Permacast.

Install

npm install -g permacast-cli

Commands

1- Login aka Save a keyfile

Invoking this command is required first of all to be able to invoke any other command in the CLI.

permacast save-keyfile --key-file PATH-TO-YOUR-JWK-FILE.json

2- Signout aka Delete the saved keyfile

Use this command to delete your current keyfile to signout or if you want to replace it with a new one (then invoke command #1)

permacast delete-keyfile

3- Import your podcast from an RSS to Permacast

Use this command to import your podcast's content from a valid RSS endpoint to your podcast over Permacast

permacast import-rss --pid YOUR_PODCAST_ID --rss-url THE_RSS_URL --onchain-eval
Example:
permacast import-rss --pid IKsjaUBJiKNDtLPIOyobkUM6iPtTKAK2bMDBu30KdmE --rss-url https://terraspaces.org/feed/podcast/

To know how to retrieve your pid (podcast ID) from the Permacast FE, check this image.

N.B: --onchain-eval is an optional argument that if passed, it evaluates the podcast's factory contract from Arweave (slow to very slow) instead of fetching the factory's state from Permacast cache.

4- View account stats

This command displays your Arweave wallet address, balance, and how many megabytes your can upload to Arweave (excluding Permacast fee multiplier)

permacast account

5- Change Arweave gateway

This command allows you to switch between Arweave stable mainnet gateways (arweave.net/dev/live)

permacast change-gateway --gateway YOUR_OPTION

License

This project is licensed under the MIT license.

Keywords

FAQs

Last updated on 22 Oct 2022

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc