Private Chain

⛓An Ethereum PoA private-chain environment on AWS.
Alternatives To Private Chain
Project NameStarsDownloadsRepos Using ThisPackages Using ThisMost Recent CommitTotal ReleasesLatest ReleaseOpen IssuesLicenseLanguage
Ethereum Etl2,547
3 days ago37May 24, 2022132mitPython
Python scripts for ETL (extract, transform and load) jobs for Ethereum blocks, transactions, ERC20 / ERC721 tokens, transfers, receipts, logs, contracts, internal transactions. Data is available in Google BigQuery https://goo.gl/oY5BCQ
Aws Ethereum Miner211
9 months ago5Python
CloudFormation template for mining Ethereum crypto currency on AWS
Docker Geth Lb96
3 years ago2mitDockerfile
MyEtherWallet AWS set up. Deploy public-facing Ethereum nodes using AWS CloudFormation / Docker / Parity / Geth / ethstats
Web 3.0 Books74
3 months ago4
web3, Metaverse, AI, MLOps, AWS Sagemaker, Blockchain, API Token Economy, and Graph Database, And there are many books
Go Ethereum Aws Kms Tx Signer42
a month ago1mitGo
Ethereum transaction signer using AWS KMS keys. An extension for the go ethereum client library.
Nft Deployment Amazon Managed Blockchain34
5 months agomit-0JavaScript
Sample code and reference architecture to deploy an NFT on the Ethereum blockchain using Amazon Managed Blockchain
Private Chain21
3 years agoShell
⛓An Ethereum PoA private-chain environment on AWS.
Cryptolambda20
6 years agogpl-3.0JavaScript
Periodically buy cryptocurrencies (Dollar Cost Average) in BitStamp using AWS Lambda scheduled events
Zeus20
16 hours agoapache-2.0Go
Zeus is the easiest way to build, maintain, and operate distributed cloud infrastructure on Kubernetes via UI and from our Go SDK, which leads to faster product development, happier engineers, and lower cloud bills. Supporting DigitalOcean, GCP, AWS, and Azure (Coming Next)
Saga Pattern Nodejs Aws19
2 years ago18apache-2.0TypeScript
An implementation of Saga pattern for distributed transactions with NodeJS and AWS
Alternatives To Private Chain
Select To Compare


Alternative Project Comparisons
Readme

ALIS
An Ethereum private-chain environment for the ALIS that using Parity PoA.

Prerequisite

  • aws-cli
  • packer
  • ansible
  • jq
  • direnv

Environment valuables

# Create .envrc to suit your environment.
cp -pr .envrc.sample .envrc
direnv edit

Preparation

Packer

Build an AMI that the nodes of Parity PoA.

Parity resources

You have to change ETH account keys when you use this in production.

  • ./packer/ansible/roles/parity/templates/PCParityPoA*_key.j2

Also spec.json.

  • ./packer/ansible/roles/parity/templates/spec.json.j2

Build

cd ./packer/
packer build ./parity-poa.json

Create EC2 KeyPair

aws ec2 create-key-pair --key-name private-chain

Create EIP

./create_eip.sh

Set SSM valuables

You have to specify SSM valuables as can as possible.
Such as IAM and EIP information you created above.

CloudFormation

Deployment

./deploy.sh

Fix API settings via a script

# Get API ID
aws apigateway get-rest-apis | jq -r --arg ALIS_API_NAME "${ALIS_APP_ID}api" '.items[] | select(.name==$ALIS_API_NAME).id'

# Set API ID to PRIVATE_CHAIN_REST_API_ID in .envrc
direnv edit

./fix_api.sh

After deployment

Connect Instances via Bastion

cp -p .ec2ssh ~/
vi ~/.ec2ssh

Fix some point for your environment.
Then execute ec2ssh update.

echo -e \\nHost PC*\\n  ProxyCommand ssh -W %h:%p Bastion >> ~/.ssh/config 
ec2ssh update

Now you can connect:

ssh PCParityPoA2a

Also you can use tmuxinator.

cp -p ./private_chain.yml ~/.tmuxinator/
mux private_chain

Configure servers.

# You have to edit HostNames.
vi ./ansible/roles/common/files/config

# Also you have to specify your hosts.
cd ansible
cp -p hosts.sample hosts
vi hosts

# Run ansible
ansible-galaxy install -p ./roles -r requirements.yml
ansible-playbook -i hosts site.yml

Connect Parity nodes each other

You can use [parity dir]/enode.sh.

Migrate private chain contracts from Bastion server

See: Private chain contracts

Fix template.yaml's FIXME: tags and deploy again

Such as IAM Policies, and others.

Set SSM valuables again

Popular Amazon Web Services Projects
Popular Ethereum Projects
Popular Cloud Computing Categories
Related Searches

Get A Weekly Email With Trending Projects For These Categories
No Spam. Unsubscribe easily at any time.
Shell
Aws
Blockchain
Ethereum
Cloudformation
Packer
Ssm
Bastion