Git Product home page Git Product logo

adbdse's Introduction

Crust Command Line

The Crust command-line interface (Crust CLI) is a set of commands used to access Crust Network resources

Quick Start

Please refer this doc to see how Crust help to host your website without any servers.

Usage

1. Login

Secret seeds will be stored locally and won't be leaked by cli-itself.

Login with Crust Account secret seeds(12/24 random words), it will be used to sign your publishing transaction.

npx crust-cli login "vanish desert itch writer pretty unite wax wistful painful pine key bore"

2. Pin

If you are not familiar with IPFS, we highly recommend you to install the IPFS Desktop of Crust version

Pin will add your file/folder to local IPFS. Make sure you installed IPFS and keep it running.

npx crust-cli pin my-website/build/

3. Publish

Please login first, otherwise you will failed

Publish will send a place storage order transaction to chain, and the storage nodes in Crust Network will help you to store your file through IPFS

npx crust-cli publish QmevJf2rdNibZCGrgeyVJEM82y5DsXgMDHXM6zBtQ6G4Vj

4. Status

Status will help you to monitor your file on-chain

npx crust-cli status QmevJf2rdNibZCGrgeyVJEM82y5DsXgMDHXM6zBtQ6G4Vj

adbdse's People

Contributors

badkk avatar mmyyrroonn avatar

Watchers

 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.