Skip to content

Nanobox data service Parity component with UNFS (User-Space Network File System).

Notifications You must be signed in to change notification settings

COMO-CAPITAL/nanobox-parity

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nanobox-parity

Nanobox data service Parity component with UNFS (User-Space Network File System).

Usage

data.parity:
  image: comocapital/nanobox-parity:latest
  config:
    chain: kovan
    rpcapi:
      - eth
      - net
      - personal
      - web3
    logging: info
    mode: last
    pruning: fast
    port: 30303
    basepath: parity/db
    min_peers: 10
    max_peers: 25
    max_pending_peers: 64

web.backend:
  network_dirs:
    data.parity:
      - parity/db

UI

  • To connect to UI, start two terminals and typo:
# typo in first terminal
nanobox tunnel data.parity -p 8546:8546

# typo in second one
nanobox tunnel data.parity -p 8180:8180
  • Open the browser and typo localhost:8180.

Also, you can use this rule for Makefile:

# Required GNU Parallel
# Install: sudo apt install parallel
parity:
	@(echo nanobox tunnel data.parity -p 8546:8546; \
	echo nanobox tunnel data.parity -p 8180:8180) | parallel

Errors

Unable to make a connection to the Parity Secure API

You need to generate your own auth code for the browser.

  • Connect to the parity container:
nanobox console data.parity
  • Launch signer with a path to the parity db:
# replace basepath with your actual basepath described in boxfile.yml
/data/bin/parity signer new-token --base-path /app/${basepath} --chain kovan
# `/app` is a symbolic link to `/data/var/db/unfs`

The app will output the code and it will be saved to the file /app/${basepath}/signer/authcodes. Put the code into the offered input field.

About

Nanobox data service Parity component with UNFS (User-Space Network File System).

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published