Skip to content

XPRNetwork/proton-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

Pre-Requisites

Install docker from Install Docker

Usage

docker pull jafri/proton:latest;
docker run \
  -d \
  --name proton \
  --platform linux/amd64 \
  --user 0 \
  -v <HOME>:<HOME> \
  -v <HOME>/eosio-wallet:/root/eosio-wallet \
  -w <HOME> \
  -e HOME=<HOME> \
  -p 8888:8888 \
  jafri/proton:1.3;

Other options

Open container (optional)

docker exec -it -u 0 proton /bin/sh

Verify Running

cleos get info

Start node

nodeos \
  -e -p eosio \
 --data-dir ./data \
 --config-dir ./config \
 --plugin eosio::http_plugin \
 --plugin eosio::chain_plugin \
 --plugin eosio::chain_api_plugin \
 --plugin eosio::producer_plugin \
 --http-server-address=0.0.0.0:8888 \
 --access-control-allow-origin='*' \
 --http-validate-host=false \
 --max-transaction-time=200000 \
 --disable-replay-opts \
 --hard-replay \
 --contracts-console \
 --filter-on='*' \
 --filter-out=eosio:onblock:"" &

if you want to delete all blocks, add --delete-all-blocks as an option

Start keosd

keosd &

Exit

exit

Manual building

docker build --platform linux/amd64 -t proton .

Credits

Thanks to @poplexity for the initial instructions!

Releases

No releases published

Packages

No packages published