Skip to content
/ rdrive Public
forked from r-publishing/rdrive

RDrive is a filesystem on a blockchain. Manage your files using your favorite file manager.

License

Notifications You must be signed in to change notification settings

TheoXD/rdrive

 
 

Repository files navigation

RDrive Alpha

RDrive is a blockchain storage solution that allows you to interact with blockchain in a seamless manner.

How to use RDrive

Download the release of RDrive from github releases and extract the archive. Once extracted, open terminal and use the following command to install RDrive:

$ ./rdrive --run

Here are the arguments available:

--run Run RDrive

--contractName Name of the contract

--boxName Desired box name

--masterRegUri rchain-token master registry uri (leave blank to create a new one)

--privKey Private key for your wallet

--readOnlyHost ... List of observer nodes

--validatorHost ... List of validator nodes

--mnt ABsolute path for where to mount RDrive

--shardId Shard name

--pursePrice Default price for NFTs, will be set in /.token.conf

For example:

$ ./rdrive-linux --run --contractName mynft --boxName theo --masterRegUri 9jo81oy9bptprsox9asqr377q3msjjyrbtcwimxgrcpmszdxw185bx --privKey 6428f75c09db8b3a260fc1dcb1c93619bd3eecf6787b003ddc6ba5e87025c177 --readOnlyHost http://127.0.0.1:40403 --validatorHost http://127.0.0.1:40403 --mnt /home/theoxd/demo/rdrive --shardId root --pursePrice 500000000

How to build

TODO:

  • Persistent caching
  • Improve memory usage
  • Fix reading of files larger than 40mb+ due to explore deploy failing because of cost accounting.

About

RDrive is a filesystem on a blockchain. Manage your files using your favorite file manager.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 77.9%
  • JavaScript 22.1%