You will initialize and connect your node to the Lightstreams test blockchain network called Sirius. The nodes use the blockchain network for deploying and controlling smart contracts.
Smart Vault uses smart contracts for managing files access permissions.
lethrun--nodeid=1--network=sirius--https2020-03-30T16:49:46.650+0200INFOlethnode/node.go:162StartingLethNodeonline/offlineservices...2020-03-30T16:49:46.652+0200INFOlethnode/node.go:186StartingLethBlockchainonlineservice...2020-03-30T16:49:46.653+0200INFOlethnode/node.go:189WaitingforLethBlockchainservicetostart...2020-03-30T16:49:46.822+0200 INFO lethexec/exec.go:21 LN-SIRIUS: Running '/Users/enchanterio/go/bin/lightchain' with args: 'lightchain, run, --datadir=/Users/enchanterio/.lightstreams_2/sirius, --tmt_rpc_port=26757, --tmt_p2p_port=26756, --rpc, --rpcaddr=0.0.0.0, --rpcport=8645, --rpcapi, eth,net,web3,personal,debug, --rpcvhosts=localhost, --rpccorsdomain=*, --ws, --wsaddr=0.0.0.0, --wsport=8646'
2020-03-30T16:49:56.653+0200INFOlethnode/node.go:192ConnectingtoSIRIUSnetwork...2020-03-30T16:49:56.664+0200INFOlethnode/node.go:448Ethereumclientisnowfullysyncedandavailable!2020-03-30T16:49:58.197+0200INFOlethnode/node.go:230StartingLethIPFSonlineservice...2020-03-30T16:49:58.198+0200INFOlethnode/node.go:233StartingLethRegistryDBofflineservice...2020-03-30T16:49:58.199+0200INFOlethnode/node.go:240StartingLethSmartVaultonlineservice...2020-03-30T16:49:58.199+0200 INFO lethregistry/registry.go:323 RegistryDB is at the latest migration version {"version": "1"}
2020-03-30T16:49:58.225+0200INFOlethnode/node.go:270StartingLethHTTPonlineserviceonport9092...2020-03-30T16:49:58.225+0200INFOlethnode/node.go:254StartingLethRevokedFilesofflineservice...2020-03-30T16:49:58.225+0200INFOlethnode/node.go:265StartingLethTokenCacheofflineservice...2020-03-30...AllLethonline/offlineservicesareupandrunning!
Stopping the node
You can stop a node at any time by pressing Ctrl+C
OPTIONAL: Create a Second Node
Smart Vault is all about peer-to-peer content sharing. If you are interested in Smart Vault, sooner or later you will want to share a file between two nodes. To have two Smart Vault nodes running locally on the same computer to test the peer-to-peer behaviour of sharing files then run the following commands: