Skip to content

iotexproject/iotex-pantheon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Warning This repo is not actively maintained. Please check https://iotex.io for latest updates.

Pantheon is the consortium blockchain built with IoTeX technology. With the trial, The chain will be running on the standalone mode in this setup(one single node produce blocks).

Usage:

./setup.sh                     - Use the mirror provided by the official docker hub, and
                                 the tag of the image is trial to start the service. The
                                 configuration file uses the contents of the directory trial.
./setup.sh clean               - Clean up all iotex pantheon running components

Option 1: Use Your Machine

  1. Install Docker if not already.
  2. Download/unzip https://github.com/iotexproject/iotex-pantheon/archive/master.zip or git clone this repo.
  3. Please make sure your following ports are available to use: 3000, 33306, 4004, 4689, 8089, 8090, 8200, 9090, 9901, 10000, 14014, 14689, 15015, 18080, 33060
  4. Run: ./setup.sh and follow the instructions. Once this script is done, the blockchain backend and frontend should be already up and running.
  5. Open up a browser to visit http://localhost:4004.
  6. If this is the first time everything is up, you need to select "Don’t have an account? Sign up".
  7. Search “Initial Root Token” in your terminal to find a string like s.brtnkbVTDGzM7uQSRuGa2sVW, and use it to register a new user and login the system.
  8. If you need advanced monitoring, login http://localhost:3000/login with admin/admin and configure your own dashboard.
  9. If you want to restart everything from scratch, run ./setup.sh clean.

Option 2: Use Amazon Machine Images (AMI)

  1. Open the Amazon EC2 console at https://console.aws.amazon.com/ec2/ and switch to the region "us-east-2".
  2. In the navigation pane, choose AMIs and choose Public images.
  3. Search for "pantheon" and start an instance from it.
  4. Once it is up and running, ssh into the machine and cd iotexproject/iotex-pantheon; ./setup.sh
  5. Follow steps 5 - 9 above.

Access blockchain explorer remotely

If you are accessing explorer not on the machine where you plan to deploy the iotex-pantheon, please change following entries in ./docker-compose/docker-compose-one-node.yml before you run setup.sh:

      ANALYTICS_API_GATEWAY_URL: http://localhost:8089/query
      API_GATEWAY_URL: http://localhost:4004/api-gateway/
      GRAFANA_LINK: http://localhost:3000

Change from localhost to the remote machine address/ip.

Use the command-line tool

  1. Set command-line tool to connect with chain node
ioctl config set endpoint 127.0.0.1:14014 --insecure
  1. import the demo private key (c4fc484f35479d50b3f9f21dbdf63d466db1f432fa8ea2ad7a4e80bc8cacadcc)
ioctl account import key 4b
  1. Now you can make a transaction or deploy contract with a demo account
ioctl action transfer io1gakgrsnsxmg9ed0tlcc2ukxzxdg6v8z2glw82e 10000 -s 4b
ioctl action deploy -b "0x3838533838f3" -s 4b

Features Compare

IoTeX Mainnet Pantheon Trial Pantheon Production
Delegate Election YES NO NO
0 Fee Transaction NO YES YES
Private Access NO YES YES
User Management NO YES YES
Block Producer Management NO NO YES
Multiple Block Producers YES NO YES
Layer 2 Scalability NO NO YES

About

Pantheon - IoTeX Consortium Blockchain

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •