⏹️
Truebit on Ethereum v1
  • About Truebit on Ethereum
    • Overview
    • Use Cases
    • Research
    • FAQ
  • Getting Started
    • Install Truebit on Ethereum
    • Truebit on Ethereum Structure
    • Start Docker container
    • Create a Wallet
    • Synchronize the Ethereum Node
    • Start a Truebit on Ethereum Terminal for Each Role
    • Start Truebit on Ethereum
    • Purchase TRU tokens
    • Check Balances
    • Purchase Solver License
    • Start Solve and Verify
    • IPFS connection for distributed file sharing
    • Glossary
  • COMMUNITY
    • Support & More Information
Powered by GitBook
  1. Getting Started

IPFS connection for distributed file sharing

1. Register your node in IPFS routing.

ipfs register

OUTPUT

info: Registered IPFSaddress: /ip4/127.0.0.1/udp/4001/quic/p2p/12D3KooWJPbNGRYfSJu9tQTrwMkHu6uMqC39K6qza8CzZAeaHPBw

2. Check your IPFS ID.

ipfs id

OUTPUT

{
id: '12D3KooWJPbNGRYfSJu9tQTrwMkHu6uMqC39K6qza8CzZAeaHPBw',
publicKey: 'CAESIH9glfxqooHKY9DvAFPehbWQCrbx8OZfKZwZHYFhPAiC',
addresses: [
'/ip4/127.0.0.1/tcp/4001/p2p/12D3KooWJPbNGRYfSJu9tQTrwMkHu6uMqC39K6qza8CzZAeaHPBw',
'/ip4/127.0.0.1/udp/4001/quic/p2p/12D3KooWJPbNGRYfSJu9tQTrwMkHu6uMqC39K6qza8CzZAeaHPBw',
'/ip4/192.168.65.3/tcp/4001/p2p/12D3KooWJPbNGRYfSJu9tQTrwMkHu6uMqC39K6qza8CzZAeaHPBw',
'/ip4/192.168.65.3/udp/4001/quic/p2p/12D3KooWJPbNGRYfSJu9tQTrwMkHu6uMqC39K6qza8CzZAeaHPBw',
'/ip4/201.190.254.216/udp/55467/quic/p2p/12D3KooWJPbNGRYfSJu9tQTrwMkHu6uMqC39K6qza8CzZAeaHPBw',
'/ip6/::1/tcp/4001/p2p/12D3KooWJPbNGRYfSJu9tQTrwMkHu6uMqC39K6qza8CzZAeaHPBw',
'/ip6/::1/udp/4001/quic/p2p/12D3KooWJPbNGRYfSJu9tQTrwMkHu6uMqC39K6qza8CzZAeaHPBw'
],
agentVersion: 'go-ipfs/0.7.0/',
protocolVersion: 'ipfs/0.1.0'
}

3. Connect with other node.

ipfs connect 12D3KooWKkvP2Si6nUQSmkNKELTe1TZfoa5t7yesM5u45QpFtvfT

OUTPUT

Note: Look for the "successfully " line.

[05-12 14:16:59] info: Successfully connected to /ip4/165.227.144.202/tcp/4001/ipfs/QmSRg4CQN4aSTKDahNSjwE2BnMRjZkthS5mdmcnau85FM5.
...

PreviousStart Solve and VerifyNextGlossary

Last updated 1 year ago