mirror of
https://github.com/filecoin-project/lotus.git
synced 2025-08-26 02:38:58 +08:00
Node builder structure
License: MIT Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
This commit is contained in:

committed by
Jakub Sztandera

parent
5238872c02
commit
795621ed27
@ -2,8 +2,11 @@ package client
|
||||
|
||||
import (
|
||||
"github.com/filecoin-project/go-lotus/api"
|
||||
"github.com/filecoin-project/go-lotus/rpclib"
|
||||
)
|
||||
|
||||
func NewRPC(addr string) api.API {
|
||||
return nil // TODO
|
||||
}
|
||||
var res api.Struct
|
||||
rpclib.NewClient(addr, "Filecoin", &res.Internal)
|
||||
return &res
|
||||
}
|
Reference in New Issue
Block a user