A pure-Go Filecoin light client. Zero CGo, no filecoin-ffi, no Rust. Every block header, finality cert, and state read verified locally.
Lantern doesn't pick a node and hope. Every claim about the chain is checked against an independent root.
macOS Β· Linux Β· arm64 + amd64. Signed binaries hosted on Cloudflare.
Since v1.5.0, Lantern ships pkg/daemon β an embeddable Daemon API. Pull it in as a Go dependency, mint your own admin JWT, and call it like any local server.
// go.mod require github.com/Reiers/lantern v1.7.22 // main.go import "github.com/Reiers/lantern/pkg/daemon" d, _ := daemon.New(daemon.Config{ Network: "mainnet", DataDir: "/var/lib/lantern", }) // Lotus-compatible /rpc/v1 served in-process go d.Run(ctx) token := d.AdminToken()