Unfortunately glif nodes require a lotus-lite node to interact with some of the multisig capabilities. Here we add a script which makes booting such a node as easy as possible on both linux and macos.
The script:
Checks if lotus is installed
If not then it downloads and installs as required (depending on platform)
It boots the node, pulling in the FULLNODE_API_INFO
Prints the node's PID (can grab this later to kill the process)
Asks the user if they want to import a private key -- and reads it in if yes (secretly)
Example usage:
FULLNODE_API_INFO=wss://wss.node.glif.io/apigw/lotus sh lotus_lite_init.sh
Building on this we should:
run the script automatically from the rust cli and
inject the FULLNODE_API_INFO env var from the cli command
inject the user's private key straight into the private key query when asked
Unfortunately glif nodes require a lotus-lite node to interact with some of the multisig capabilities. Here we add a script which makes booting such a node as easy as possible on both linux and macos.
The script:
FULLNODE_API_INFO
Example usage:
Building on this we should:
FULLNODE_API_INFO
env var from the cli command