Registry /
networking / filecoin-project-go-fil-markets
Install & Compatibility
Where this runs
No compatibility data collected yet for this library.
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
markets
✓ github.com/filecoin-project/go-fil-markets
List active storage deals on the Filecoin network.
package main
import (
"context"
"log"
"github.com/filecoin-project/go-fil-markets/storagemarket"
)
func main() {
// Example: create a storage market client
client := storagemarket.NewClient()
deals, err := client.ListDeals(context.Background())
if err != nil {
log.Fatal(err)
}
log.Printf("Active deals: %d", len(deals))
}
Debug
Known issues
No known issues recorded.
Upgrade
Version history
1.28.3latest on pkg.go.dev
Audit
Dependencies
No dependency data recorded yet.