Skip to content
This repository was archived by the owner on Sep 3, 2024. It is now read-only.

rolandschellhorn/solid-pattern

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SolidPattern

Building applications on Ethereum Blockchain introduces some new challenges. The Solidity Contract Pattern is designed to help developers minimize these hurdles and build smart and scalable backends for ecosystem applications. They do not have a logical pattern to wait for applications on the Ethereum Blockchain, so they can be used in the long run. With a clearly defined pattern, we expect a more efficient implementation of decentralized applications on the Ethereum Blockchain.

Project Concept High Level View:

SolidPattern High Level View

The full project description can be found at solidpattern.academy.

Note: This project should help you building bigger scalable blockchain solutions by using this concept and the basic contracts code. There is no GUI or a playground yet - feel free to add so.

This project uses truffle for development and testing.

Requirements:

  • Truffle Framework and Local Ethereum Network like TestRPC or something similar e.g. Ganache
  • Or just use Remix Online Compiler

Truffle can be installed as a global npm package:

npm i -g truffle

Install TestRPC or Download Ganache

npm i -g ethereumjs-testrpc

All involved smart contracts can be compiled via the truffle command truffle compile. The result of the compilation can be found inside the build directory.

Run truffle migration like truffle migrate including your choice of local blockchain eg. truffle migrate --network testrpc. You can edit this setting inside the truffle.js file.

Each Contract Function can accessed via the truffle console using the deployed function like ContractName.deployed()

For further information about working with Truffle read the Truffle Framework Docs.

Recommended alternative:

Because of the rapid development in this area, I recommend using simply the remix online compiler because of its up-to-dateness and well-developed debugging process.

The remix online compiler is a part of the ethereum foundation itself and can be found unter remix.ethereum.org.

Deployment flow on Remix:
  • Deploy Proxy Gateway Contract
  • Deploy Proxy Gateway Engaged (run setProxyGateway - pass the proxy gateway address)
  • Deploy All other Contracts
  • Play with the Functionality - add, remove, change: owner, contracts, managers at the proxy gateway Contract

About

creating large, scaleable, ethereum based ecosystem application

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •