Skip to content

application-research/delta-sp-selection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Delta Storage Provider Selection

Simple filecoin storage provider selection.

  • file size (min and max piece size)
  • verified FIL (soon)
  • geo location (soon)
  • success rate throttle (soon)

Running the app

go build -o simple-sp-selection
./simple-sp-selection

Test the APIs

Get a random SP within a given piece size range

curl --location 'http://localhost:8080/api/providers?size_bytes=256'

Get a random SP within a given piece size range and IP address

curl --location 'http://localhost:8080/api/providers?size_bytes=256&source_ip=108.89.91.150'

Test the live version

curl --location --request GET 'https://sp-select.delta.store/api/providers?size_bytes=256'
curl --location --request GET 'https://sp-select.delta.store/api/providers?size_bytes=256&source_ip=108.89.91.150'

About

SP Selection using Storage.Market

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages