I require a setup in which ethereum nodes can be created and used in order to deploy smart-contracts. These nodes will then be connected to the core c-api in order to perform Marketplace functions.
The way I understand it (I might be wrong) is that 2 nodes are needed. One is used to deploy contracts with and the other is the one on which contracts are deployed. The one on which contracts are deployed is the one that has to be connected to c-api (api in dockerfile).
All Information I have and stuff I've tried is listed below.
I have tried integrating the first repo's method(which uses geth) in order to add docker eth nodes. It works but I can't understand how to deploy smart-contracts. The 2-3 links are info to perform the deployment of contracts. The fourth one performs the deployment successfully but uses testrpc (alternative to geth). I want to use geth in order to do the same thing. Also, I would like to have netstats capability provided in the first repo(but not the last one; yet).
Using truffle for deployment of contracts (as done in 4) will be easiest and fastest to do.
The local setup of mine uses following commands for deployment (to a remote public test-network (commands will differ for private node somewhat)):
As you can see here, for rinkeby, a genesis.json is required. A genesis.json defines the block system for network and is available in both 1 and 4 repos. After that, the geth based commands are quite similar.
I require a setup in which ethereum nodes can be created and used in order to deploy smart-contracts. These nodes will then be connected to the core c-api in order to perform Marketplace functions.
The way I understand it (I might be wrong) is that 2 nodes are needed. One is used to deploy contracts with and the other is the one on which contracts are deployed. The one on which contracts are deployed is the one that has to be connected to c-api (api in dockerfile).
All Information I have and stuff I've tried is listed below.
I have tried integrating the first repo's method(which uses geth) in order to add docker eth nodes. It works but I can't understand how to deploy smart-contracts. The 2-3 links are info to perform the deployment of contracts. The fourth one performs the deployment successfully but uses testrpc (alternative to geth). I want to use geth in order to do the same thing. Also, I would like to have netstats capability provided in the first repo(but not the last one; yet).
Using truffle for deployment of contracts (as done in 4) will be easiest and fastest to do.
The local setup of mine uses following commands for deployment (to a remote public test-network (commands will differ for private node somewhat)):
Code:
Command:
As you can see here, for rinkeby, a
genesis.json
is required. Agenesis.json
defines the block system for network and is available in both 1 and 4 repos. After that, the geth based commands are quite similar.