https://github.com/aelfproject/aelf-boilerplate
aelf's environment for developing contracts and dApps
https://github.com/aelfproject/aelf-boilerplate
Last synced: about 1 year ago
JSON representation
aelf's environment for developing contracts and dApps
- Host: GitHub
- URL: https://github.com/aelfproject/aelf-boilerplate
- Owner: AElfProject
- Created: 2019-04-18T12:23:24.000Z (about 7 years ago)
- Default Branch: dev
- Last Pushed: 2024-08-06T06:02:11.000Z (almost 2 years ago)
- Last Synced: 2024-08-06T08:00:38.528Z (almost 2 years ago)
- Language: JavaScript
- Homepage:
- Size: 15 MB
- Stars: 29
- Watchers: 13
- Forks: 33
- Open Issues: 15
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# AElf-boilerplate - A framework for smart contract and dApp development
BRANCH | AZURE PIPELINES(chain) | AZURE PIPELINES(ios) | AZURE PIPELINES(android)
-------|------------------------|----------------------|-------------------------
MASTER |[](https://dev.azure.com/AElfProject/aelf-boilerplate/_build/latest?definitionId=7&branchName=master) | [](https://dev.azure.com/AElfProject/aelf-boilerplate/_build/latest?definitionId=12&branchName=master) | [](https://dev.azure.com/AElfProject/aelf-boilerplate/_build/latest?definitionId=12&branchName=master)
DEV |[](https://dev.azure.com/AElfProject/aelf-boilerplate/_build/latest?definitionId=7&branchName=dev) | [](https://dev.azure.com/AElfProject/aelf-boilerplate/_build/latest?definitionId=12&branchName=dev) | [](https://dev.azure.com/AElfProject/aelf-boilerplate/_build/latest?definitionId=12&branchName=dev)
Welcome to AElf Boilerplate's official GitHub repo !
Boilerplate is an environment that is used to develop smart contracts and dApps. Boilerplate shares some code with AElf and internally runs an AElf node.
## Boilerplate
At the top level this repo contains two folders: **chain** and **web**. The chain folder contains code to facilitate contract development whereas the web folder contains the front end part of the dApp.
## chain
The process for developing the smart contract goes somewhat like this: define the smart contract, generate the code from the definition, implement the logic by using the generated code, test it and then deploy it.
The chain folder contains four sub-folders:
- **contract**: the implementation of the contract.
- **protobuf**: the definition of the contract.
- **test**: the unit tests of the contract.
- **src**: Boilerplate's core code, some elements need changing in here for the contract to be deployed.
## Versioning
We use Semantic Versioning (SemVer) for versioning, if you're intereted in closely following AElf's developement please check out the SemVer docs.
## License
AElf Boilerplate is licenced under MIT