tonutils-storage-provider

module
v0.2.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 17, 2024 License: Apache-2.0

README

Tonutils Storage Provider

Written in pure go, can be compiled for any OS.

It uses alternative version of storage contract and different flow, so it is not compatible with C++ storage-provider.

How to setup
  1. Download precompiled version:
  2. Start it ./tonutils-storage-provider-{os}-{arch}, it will generate config.json
  3. Topup provider wallet, address will be shown in output at startup
  4. Run tonutils-storage version v0.4.0 or later, with api enabled -api ip:port flag
  5. Configure settings such as tountils-storage api address, space for rent and price in config.json
  6. Share provider key with your clients, it will be shown in output at startup also. Clients can use it in TON Torrent to buy your storage.
Storage smart-contract

Contract used for providing storage is shared between many providers and can be deployed by user asking for storage. Contract is discoverable onchain if owner address and bag info is known.

Contract source can be found here

Directories

Path Synopsis
internal
db
pkg

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL