Join Mainnet
Mainnet is the primary Filecoin network.
Filecoin nodes can be deployed to sync Filecoin main network (mainnet) simply by deploying a Filecoin node manifest:
Apply this manifest using kubectl:
Kotal will create a single filecoin node that syncs mainnet Filecoin network, you can verify by getting pods in the default namepsace by:
you will get output similar to this
Check the logs of mainnet-node
by:
You will get mainnet sync logs.
Let's send an API call to mainnet-node
, but first lets forward hocalhost:1234
calls to mainnet-node
pod
In another terminal window, send Filecoin.ChainHead
API call
info
lotus node token can be found inside mainnet-node pod in /mnt/data/token
file.
Can be retrieved by
You'll get a result similar to this
Finally you can delete the filecoin node and all its resources by
and kubernetes garbage collector will delete all resources created by the node controller.