Code Monkey home page Code Monkey logo

ipfs-crust-action's Introduction

Crust IPFS pin action

Decentralized pin your site to Crust IPFS Network with Github Action

Inputs

cid

Required The cid value from IPFS.

seeds

Seeds is the private key of Crust Account, you can:

  1. Apply yourself by refering this doc
  2. Then, join Crust Discord Channel and can get free storage quota on ๐Ÿ“ฆ free-storage channel

Required, Crust secret seeds, consist of 12 words. And you need to make sure you have CRUs in your account to send the transaction.

size

Optional, The cumulative size value from IPFS. Default 209715200 (200MB).

crust-endpoint

Optional, Crust websocket endpoint. Default 'wss://rpc.crust.network'.

Outputs

res

boolean, Pin successfully or failed.

Example usage

uses: crustio/[email protected]
with:
  cid: QmevJf2rdNibZCGrgeyVJEM82y5DsXgMDHXM6zBtQ6G4Vj
  seeds: ${{ secrets.CRUST_SEEDS }}

Contribution

Feel free to dive in! Open an issue or send a PR.

To contribute to Crust in general, see the Contribution Guide

License

MIT @Crust Network

ipfs-crust-action's People

Contributors

badkk avatar lowentropybody avatar xuemomo avatar wuhaixian1984 avatar nghianguyen119 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.