add project setup
This commit is contained in:
commit
ad12285d95
|
@ -0,0 +1,8 @@
|
|||
.embark
|
||||
chains.json
|
||||
config/livenet/password
|
||||
config/production/password
|
||||
coverage
|
||||
dist
|
||||
embarkArtifacts
|
||||
node_modules
|
|
@ -0,0 +1,3 @@
|
|||
[submodule "src"]
|
||||
path = src
|
||||
url = ./src/
|
|
@ -0,0 +1,665 @@
|
|||
# Change Log
|
||||
|
||||
All notable changes to this project will be documented in this file.
|
||||
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
||||
|
||||
# [6.0.0](https://github.com/embarklabs/embark/compare/v5.3.1-nightly.0...v6.0.0) (2020-04-27)
|
||||
|
||||
**Note:** Version bump only for package embark-dapp-template-boilerplate
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [5.3.1-nightly.0](https://github.com/embarklabs/embark/compare/v5.3.0...v5.3.1-nightly.0) (2020-04-25)
|
||||
|
||||
**Note:** Version bump only for package embark-dapp-template-boilerplate
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [5.3.0](https://github.com/embarklabs/embark/compare/v5.3.0-nightly.18...v5.3.0) (2020-04-24)
|
||||
|
||||
**Note:** Version bump only for package embark-dapp-template-boilerplate
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [5.3.0-nightly.18](https://github.com/embarklabs/embark/compare/v5.3.0-nightly.17...v5.3.0-nightly.18) (2020-04-14)
|
||||
|
||||
**Note:** Version bump only for package embark-dapp-template-boilerplate
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [5.3.0-nightly.17](https://github.com/embarklabs/embark/compare/v5.3.0-nightly.16...v5.3.0-nightly.17) (2020-04-11)
|
||||
|
||||
**Note:** Version bump only for package embark-dapp-template-boilerplate
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [5.3.0-nightly.16](https://github.com/embarklabs/embark/compare/v5.3.0-nightly.15...v5.3.0-nightly.16) (2020-04-03)
|
||||
|
||||
**Note:** Version bump only for package embark-dapp-template-boilerplate
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [5.3.0-nightly.15](https://github.com/embarklabs/embark/compare/v5.3.0-nightly.14...v5.3.0-nightly.15) (2020-03-26)
|
||||
|
||||
**Note:** Version bump only for package embark-dapp-template-boilerplate
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [5.3.0-nightly.14](https://github.com/embarklabs/embark/compare/v5.3.0-nightly.13...v5.3.0-nightly.14) (2020-03-25)
|
||||
|
||||
**Note:** Version bump only for package embark-dapp-template-boilerplate
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [5.3.0-nightly.13](https://github.com/embarklabs/embark/compare/v5.3.0-nightly.12...v5.3.0-nightly.13) (2020-03-24)
|
||||
|
||||
**Note:** Version bump only for package embark-dapp-template-boilerplate
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [5.3.0-nightly.12](https://github.com/embarklabs/embark/compare/v5.3.0-nightly.11...v5.3.0-nightly.12) (2020-03-21)
|
||||
|
||||
**Note:** Version bump only for package embark-dapp-template-boilerplate
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [5.3.0-nightly.11](https://github.com/embarklabs/embark/compare/v5.3.0-nightly.10...v5.3.0-nightly.11) (2020-03-20)
|
||||
|
||||
**Note:** Version bump only for package embark-dapp-template-boilerplate
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [5.3.0-nightly.10](https://github.com/embarklabs/embark/compare/v5.3.0-nightly.9...v5.3.0-nightly.10) (2020-03-14)
|
||||
|
||||
**Note:** Version bump only for package embark-dapp-template-boilerplate
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [5.3.0-nightly.9](https://github.com/embarklabs/embark/compare/v5.3.0-nightly.8...v5.3.0-nightly.9) (2020-03-13)
|
||||
|
||||
|
||||
### Features
|
||||
|
||||
* support selecting what library to generate artifacts ([ee1eb4e](https://github.com/embarklabs/embark/commit/ee1eb4e)), closes [#2285](https://github.com/embarklabs/embark/issues/2285)
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [5.3.0-nightly.8](https://github.com/embarklabs/embark/compare/v5.3.0-nightly.7...v5.3.0-nightly.8) (2020-03-11)
|
||||
|
||||
**Note:** Version bump only for package embark-dapp-template-boilerplate
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [5.3.0-nightly.7](https://github.com/embarklabs/embark/compare/v5.3.0-nightly.6...v5.3.0-nightly.7) (2020-03-10)
|
||||
|
||||
**Note:** Version bump only for package embark-dapp-template-boilerplate
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [5.3.0-nightly.6](https://github.com/embarklabs/embark/compare/v5.3.0-nightly.5...v5.3.0-nightly.6) (2020-03-07)
|
||||
|
||||
**Note:** Version bump only for package embark-dapp-template-boilerplate
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [5.3.0-nightly.5](https://github.com/embarklabs/embark/compare/v5.3.0-nightly.4...v5.3.0-nightly.5) (2020-03-06)
|
||||
|
||||
**Note:** Version bump only for package embark-dapp-template-boilerplate
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [5.3.0-nightly.4](https://github.com/embarklabs/embark/compare/v5.3.0-nightly.3...v5.3.0-nightly.4) (2020-03-05)
|
||||
|
||||
**Note:** Version bump only for package embark-dapp-template-boilerplate
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [5.3.0-nightly.3](https://github.com/embarklabs/embark/compare/v5.3.0-nightly.2...v5.3.0-nightly.3) (2020-03-04)
|
||||
|
||||
**Note:** Version bump only for package embark-dapp-template-boilerplate
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [5.3.0-nightly.2](https://github.com/embarklabs/embark/compare/v5.3.0-nightly.1...v5.3.0-nightly.2) (2020-03-03)
|
||||
|
||||
**Note:** Version bump only for package embark-dapp-template-boilerplate
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [5.3.0-nightly.1](https://github.com/embarklabs/embark/compare/v5.3.0-nightly.0...v5.3.0-nightly.1) (2020-02-29)
|
||||
|
||||
**Note:** Version bump only for package embark-dapp-template-boilerplate
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [5.3.0-nightly.0](https://github.com/embarklabs/embark/compare/v5.2.4-nightly.0...v5.3.0-nightly.0) (2020-02-27)
|
||||
|
||||
**Note:** Version bump only for package embark-dapp-template-boilerplate
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [5.2.4-nightly.0](https://github.com/embarklabs/embark/compare/v5.2.3...v5.2.4-nightly.0) (2020-02-26)
|
||||
|
||||
**Note:** Version bump only for package embark-dapp-template-boilerplate
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [5.2.3](https://github.com/embarklabs/embark/compare/v5.2.3-nightly.1...v5.2.3) (2020-02-25)
|
||||
|
||||
**Note:** Version bump only for package embark-dapp-template-boilerplate
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [5.2.3-nightly.1](https://github.com/embarklabs/embark/compare/v5.2.3-nightly.0...v5.2.3-nightly.1) (2020-02-25)
|
||||
|
||||
**Note:** Version bump only for package embark-dapp-template-boilerplate
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [5.2.3-nightly.0](https://github.com/embarklabs/embark/compare/v5.2.2...v5.2.3-nightly.0) (2020-02-20)
|
||||
|
||||
**Note:** Version bump only for package embark-dapp-template-boilerplate
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [5.2.2](https://github.com/embarklabs/embark/compare/v5.2.1...v5.2.2) (2020-02-19)
|
||||
|
||||
**Note:** Version bump only for package embark-dapp-template-boilerplate
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [5.2.1](https://github.com/embarklabs/embark/compare/v5.2.0...v5.2.1) (2020-02-18)
|
||||
|
||||
**Note:** Version bump only for package embark-dapp-template-boilerplate
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [5.2.0](https://github.com/embarklabs/embark/compare/v5.2.0-nightly.5...v5.2.0) (2020-02-18)
|
||||
|
||||
**Note:** Version bump only for package embark-dapp-template-boilerplate
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [5.2.0-nightly.5](https://github.com/embarklabs/embark/compare/v5.2.0-nightly.4...v5.2.0-nightly.5) (2020-02-18)
|
||||
|
||||
**Note:** Version bump only for package embark-dapp-template-boilerplate
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [5.2.0-nightly.4](https://github.com/embarklabs/embark/compare/v5.2.0-nightly.3...v5.2.0-nightly.4) (2020-02-15)
|
||||
|
||||
|
||||
### Features
|
||||
|
||||
* **@embark/blockchain:** make GanacheCLI the default dev blockchain ([cd934f8](https://github.com/embarklabs/embark/commit/cd934f8))
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [5.2.0-nightly.3](https://github.com/embarklabs/embark/compare/v5.2.0-nightly.2...v5.2.0-nightly.3) (2020-02-14)
|
||||
|
||||
|
||||
### Features
|
||||
|
||||
* warn about packages not configured as plugins; make geth/parity full plugins ([d14e93c](https://github.com/embarklabs/embark/commit/d14e93c))
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [5.2.0-nightly.2](https://github.com/embarklabs/embark/compare/v5.2.0-nightly.1...v5.2.0-nightly.2) (2020-02-13)
|
||||
|
||||
|
||||
### Features
|
||||
|
||||
* **@embark/test-runner:** introduce artifacts.require API ([b021689](https://github.com/embarklabs/embark/commit/b021689))
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [5.2.0-nightly.1](https://github.com/embarklabs/embark/compare/v5.2.0-nightly.0...v5.2.0-nightly.1) (2020-02-08)
|
||||
|
||||
**Note:** Version bump only for package embark-dapp-template-boilerplate
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [5.2.0-nightly.0](https://github.com/embarklabs/embark/compare/v5.1.2-nightly.1...v5.2.0-nightly.0) (2020-02-07)
|
||||
|
||||
**Note:** Version bump only for package embark-dapp-template-boilerplate
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [5.1.2-nightly.1](https://github.com/embarklabs/embark/compare/v5.1.2-nightly.0...v5.1.2-nightly.1) (2020-02-06)
|
||||
|
||||
**Note:** Version bump only for package embark-dapp-template-boilerplate
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [5.1.2-nightly.0](https://github.com/embarklabs/embark/compare/v5.1.1...v5.1.2-nightly.0) (2020-02-05)
|
||||
|
||||
**Note:** Version bump only for package embark-dapp-template-boilerplate
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [5.1.1](https://github.com/embarklabs/embark/compare/v5.1.1-nightly.4...v5.1.1) (2020-02-03)
|
||||
|
||||
**Note:** Version bump only for package embark-dapp-template-boilerplate
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [5.1.1-nightly.4](https://github.com/embarklabs/embark/compare/v5.1.1-nightly.3...v5.1.1-nightly.4) (2020-02-03)
|
||||
|
||||
**Note:** Version bump only for package embark-dapp-template-boilerplate
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [5.1.1-nightly.2](https://github.com/embarklabs/embark/compare/v5.1.1-nightly.1...v5.1.1-nightly.2) (2020-01-31)
|
||||
|
||||
**Note:** Version bump only for package embark-dapp-template-boilerplate
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [5.1.1-nightly.1](https://github.com/embarklabs/embark/compare/v5.1.1-nightly.0...v5.1.1-nightly.1) (2020-01-30)
|
||||
|
||||
**Note:** Version bump only for package embark-dapp-template-boilerplate
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [5.1.1-nightly.0](https://github.com/embarklabs/embark/compare/v5.1.0...v5.1.1-nightly.0) (2020-01-29)
|
||||
|
||||
**Note:** Version bump only for package embark-dapp-template-boilerplate
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [5.1.0](https://github.com/embarklabs/embark/compare/v5.1.0-nightly.6...v5.1.0) (2020-01-27)
|
||||
|
||||
**Note:** Version bump only for package embark-dapp-template-boilerplate
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [5.1.0-nightly.6](https://github.com/embarklabs/embark/compare/v5.1.0-nightly.5...v5.1.0-nightly.6) (2020-01-25)
|
||||
|
||||
**Note:** Version bump only for package embark-dapp-template-boilerplate
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [5.1.0-nightly.5](https://github.com/embarklabs/embark/compare/v5.1.0-nightly.4...v5.1.0-nightly.5) (2020-01-24)
|
||||
|
||||
**Note:** Version bump only for package embark-dapp-template-boilerplate
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [5.1.0-nightly.4](https://github.com/embarklabs/embark/compare/v5.1.0-nightly.3...v5.1.0-nightly.4) (2020-01-23)
|
||||
|
||||
**Note:** Version bump only for package embark-dapp-template-boilerplate
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [5.1.0-nightly.3](https://github.com/embarklabs/embark/compare/v5.1.0-nightly.2...v5.1.0-nightly.3) (2020-01-22)
|
||||
|
||||
**Note:** Version bump only for package embark-dapp-template-boilerplate
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [5.1.0-nightly.2](https://github.com/embarklabs/embark/compare/v5.1.0-nightly.1...v5.1.0-nightly.2) (2020-01-21)
|
||||
|
||||
**Note:** Version bump only for package embark-dapp-template-boilerplate
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [5.1.0-nightly.1](https://github.com/embarklabs/embark/compare/v5.1.0-nightly.0...v5.1.0-nightly.1) (2020-01-20)
|
||||
|
||||
**Note:** Version bump only for package embark-dapp-template-boilerplate
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [5.1.0-nightly.0](https://github.com/embarklabs/embark/compare/v5.0.0...v5.1.0-nightly.0) (2020-01-17)
|
||||
|
||||
**Note:** Version bump only for package embark-dapp-template-boilerplate
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [5.0.0](https://github.com/embarklabs/embark/compare/v5.0.0-beta.0...v5.0.0) (2020-01-07)
|
||||
|
||||
**Note:** Version bump only for package embark-dapp-template-boilerplate
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [5.0.0-beta.0](https://github.com/embarklabs/embark/compare/v5.0.0-alpha.10...v5.0.0-beta.0) (2020-01-03)
|
||||
|
||||
**Note:** Version bump only for package embark-dapp-template-boilerplate
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [5.0.0-alpha.10](https://github.com/embarklabs/embark/compare/v5.0.0-alpha.9...v5.0.0-alpha.10) (2019-12-24)
|
||||
|
||||
**Note:** Version bump only for package embark-dapp-template-boilerplate
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [5.0.0-alpha.9](https://github.com/embarklabs/embark/compare/v5.0.0-alpha.8...v5.0.0-alpha.9) (2019-12-20)
|
||||
|
||||
**Note:** Version bump only for package embark-dapp-template-boilerplate
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [5.0.0-alpha.8](https://github.com/embarklabs/embark/compare/v5.0.0-alpha.7...v5.0.0-alpha.8) (2019-12-19)
|
||||
|
||||
**Note:** Version bump only for package embark-dapp-template-boilerplate
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [5.0.0-alpha.7](https://github.com/embarklabs/embark/compare/v5.0.0-alpha.6...v5.0.0-alpha.7) (2019-12-18)
|
||||
|
||||
**Note:** Version bump only for package embark-dapp-template-boilerplate
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [5.0.0-alpha.6](https://github.com/embarklabs/embark/compare/v5.0.0-alpha.5...v5.0.0-alpha.6) (2019-12-17)
|
||||
|
||||
**Note:** Version bump only for package embark-dapp-template-boilerplate
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [5.0.0-alpha.5](https://github.com/embarklabs/embark/compare/v5.0.0-alpha.4...v5.0.0-alpha.5) (2019-12-16)
|
||||
|
||||
**Note:** Version bump only for package embark-dapp-template-boilerplate
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [5.0.0-alpha.4](https://github.com/embarklabs/embark/compare/v5.0.0-alpha.3...v5.0.0-alpha.4) (2019-12-12)
|
||||
|
||||
|
||||
### Features
|
||||
|
||||
* **@embark/whisper:** Add Whisper client config ([bd4b110](https://github.com/embarklabs/embark/commit/bd4b110))
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [5.0.0-alpha.3](https://github.com/embarklabs/embark/compare/v5.0.0-alpha.2...v5.0.0-alpha.3) (2019-12-06)
|
||||
|
||||
**Note:** Version bump only for package embark-dapp-template-boilerplate
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [5.0.0-alpha.2](https://github.com/embarklabs/embark/compare/v5.0.0-alpha.1...v5.0.0-alpha.2) (2019-12-05)
|
||||
|
||||
|
||||
### Code Refactoring
|
||||
|
||||
* **@embark/library-manager:** restrict versionable packages to only solc ([2543aca](https://github.com/embarklabs/embark/commit/2543aca))
|
||||
|
||||
|
||||
### BREAKING CHANGES
|
||||
|
||||
* **@embark/library-manager:** Remove support for specifying the versions of `web3` and `ipfs-api` in a
|
||||
project's `embark.json`.
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [5.0.0-alpha.1](https://github.com/embarklabs/embark/compare/v5.0.0-alpha.0...v5.0.0-alpha.1) (2019-11-05)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **@embark/templates:** ensure boilerplate template comes with valid whisper port ([bad2207](https://github.com/embarklabs/embark/commit/bad2207)), closes [/github.com/embarklabs/embark/commit/e330b338ea2a45acb14eebd93af93bc2aba62516#diff-a61fbc84e4172487789d676437f26b5fR14](https://github.com//github.com/embarklabs/embark/commit/e330b338ea2a45acb14eebd93af93bc2aba62516/issues/diff-a61fbc84e4172487789d676437f26b5fR14)
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [5.0.0-alpha.0](https://github.com/embarklabs/embark/compare/v4.1.1...v5.0.0-alpha.0) (2019-10-28)
|
||||
|
||||
|
||||
### Code Refactoring
|
||||
|
||||
* initial steps toward 5.0.0-alpha.0 ([#1856](https://github.com/embarklabs/embark/issues/1856)) ([b736ebe](https://github.com/embarklabs/embark/commit/b736ebe))
|
||||
|
||||
|
||||
### BREAKING CHANGES
|
||||
|
||||
* There are more than several breaking changes, including DApp configuration for
|
||||
accounts.
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [4.1.1](https://github.com/embarklabs/embark/compare/v4.1.0...v4.1.1) (2019-08-28)
|
||||
|
||||
**Note:** Version bump only for package embark-dapp-template-boilerplate
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [4.1.0](https://github.com/embarklabs/embark/compare/v4.1.0-beta.6...v4.1.0) (2019-08-12)
|
||||
|
||||
**Note:** Version bump only for package embark-dapp-template-boilerplate
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [4.1.0-beta.6](https://github.com/embarklabs/embark/compare/v4.1.0-beta.5...v4.1.0-beta.6) (2019-08-09)
|
||||
|
||||
|
||||
### Features
|
||||
|
||||
* **@embark/pipeline:** add minimalContractSize to remove bytecode ([b0cccae](https://github.com/embarklabs/embark/commit/b0cccae))
|
||||
* **@embark/pipeline:** enable choosing which fields to filter out ([b5c81bd](https://github.com/embarklabs/embark/commit/b5c81bd))
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [4.1.0-beta.5](https://github.com/embarklabs/embark/compare/v4.1.0-beta.4...v4.1.0-beta.5) (2019-07-10)
|
||||
|
||||
**Note:** Version bump only for package embark-dapp-template-boilerplate
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [4.1.0-beta.4](https://github.com/embarklabs/embark/compare/v4.1.0-beta.3...v4.1.0-beta.4) (2019-06-27)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **@embark/dapps:** old link updated to the latest documentation at website ([09d7428](https://github.com/embarklabs/embark/commit/09d7428))
|
||||
* **templates:** fix templates because tests don't like empty files ([908aa3b](https://github.com/embarklabs/embark/commit/908aa3b))
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [4.1.0-beta.3](https://github.com/embarklabs/embark/compare/v4.1.0-beta.2...v4.1.0-beta.3) (2019-06-07)
|
||||
|
||||
**Note:** Version bump only for package embark-dapp-template-boilerplate
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [4.1.0-beta.2](https://github.com/embarklabs/embark/compare/v4.1.0-beta.1...v4.1.0-beta.2) (2019-05-22)
|
||||
|
||||
**Note:** Version bump only for package embark-dapp-template-boilerplate
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [4.1.0-beta.1](https://github.com/embarklabs/embark/compare/v4.1.0-beta.0...v4.1.0-beta.1) (2019-05-15)
|
||||
|
||||
**Note:** Version bump only for package embark-dapp-template-boilerplate
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [4.1.0-beta.0](https://github.com/embarklabs/embark/compare/v4.0.0...v4.1.0-beta.0) (2019-04-17)
|
||||
|
||||
**Note:** Version bump only for package embark-dapp-template-boilerplate
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [4.0.2](https://github.com/embarklabs/embark/compare/v4.0.1...v4.0.2) (2019-04-11)
|
||||
|
||||
**Note:** Version bump only for package embark-dapp-template-boilerplate
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [4.0.1](https://github.com/embarklabs/embark/compare/v4.0.0...v4.0.1) (2019-03-26)
|
||||
|
||||
**Note:** Version bump only for package embark-dapp-template-boilerplate
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [4.0.0](https://github.com/embarklabs/embark/compare/v4.0.0-beta.2...v4.0.0) (2019-03-18)
|
||||
|
||||
**Note:** Version bump only for package embark-dapp-template-boilerplate
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [4.0.0-beta.2](https://github.com/embarklabs/embark/compare/v4.0.0-beta.1...v4.0.0-beta.2) (2019-03-18)
|
||||
|
||||
**Note:** Version bump only for package embark-dapp-template-boilerplate
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [4.0.0-beta.1](https://github.com/embarklabs/embark/compare/v4.0.0-beta.0...v4.0.0-beta.1) (2019-03-18)
|
||||
|
||||
|
||||
### Features
|
||||
|
||||
* add repository.directory field to package.json ([a9c5e1a](https://github.com/embarklabs/embark/commit/a9c5e1a))
|
||||
* **@embark/pipeline:** Add `enabled` property to pipeline config ([5ea4807](https://github.com/embarklabs/embark/commit/5ea4807))
|
||||
* normalize README and package.json bugs, homepage, description ([5418f16](https://github.com/embarklabs/embark/commit/5418f16))
|
|
@ -0,0 +1,22 @@
|
|||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) 2015 iuri matias
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
# `embark-dapp-template-boilerplate`
|
||||
|
||||
> Basic DApp template for Embark
|
||||
|
||||
Visit [framework.embarklabs.io](https://framework.embarklabs.io/) to get started with
|
||||
[Embark](https://github.com/embarklabs/embark).
|
||||
# gasless-democracy
|
|
@ -0,0 +1,79 @@
|
|||
// This file contains only the basic configuration you need to run Embark's node
|
||||
// For additional configurations, see: https://framework.embarklabs.io/docs/blockchain_configuration.html
|
||||
module.exports = {
|
||||
// default applies to all environments
|
||||
default: {
|
||||
enabled: true,
|
||||
client: "geth" // Can be ganache-cli, geth or parity (default: geth)
|
||||
},
|
||||
|
||||
development: {
|
||||
client: 'ganache-cli',
|
||||
clientConfig: {
|
||||
miningMode: 'dev' // Mode in which the node mines. Options: dev, auto, always, off
|
||||
}
|
||||
},
|
||||
|
||||
privatenet: {
|
||||
// Accounts to use as node accounts
|
||||
// The order here corresponds to the order of `web3.eth.getAccounts`, so the first one is the `defaultAccount`
|
||||
// For more account configurations, see: https://framework.embarklabs.io/docs/blockchain_accounts_configuration.html
|
||||
accounts: [
|
||||
{
|
||||
nodeAccounts: true, // Accounts use for the node
|
||||
numAddresses: "1", // Number of addresses/accounts (defaults to 1)
|
||||
password: "config/development/password" // Password file for the accounts
|
||||
}
|
||||
],
|
||||
clientConfig: {
|
||||
datadir: ".embark/privatenet/datadir", // Data directory for the databases and keystore
|
||||
miningMode: 'auto',
|
||||
genesisBlock: "config/privatenet/genesis.json" // Genesis block to initiate on first creation of a development node
|
||||
}
|
||||
},
|
||||
|
||||
privateparitynet: {
|
||||
client: "parity",
|
||||
genesisBlock: "config/privatenet/genesis-parity.json",
|
||||
datadir: ".embark/privatenet/datadir",
|
||||
miningMode: 'off'
|
||||
},
|
||||
|
||||
externalnode: {
|
||||
endpoint: "URL_OF_THE_NODE", // Endpoint of an node to connect to. Can be on localhost or on the internet
|
||||
accounts: [
|
||||
{
|
||||
mnemonic: "YOUR_MNEMONIC",
|
||||
hdpath: "m/44'/60'/0'/0/",
|
||||
numAddresses: "1"
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
testnet: {
|
||||
networkType: "testnet", // Can be: testnet(ropsten), rinkeby, livenet or custom, in which case, it will use the specified networkId
|
||||
syncMode: "light",
|
||||
accounts: [
|
||||
{
|
||||
nodeAccounts: true,
|
||||
password: "config/testnet/password"
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
livenet: {
|
||||
networkType: "livenet",
|
||||
syncMode: "light",
|
||||
accounts: [
|
||||
{
|
||||
nodeAccounts: true,
|
||||
password: "config/livenet/password"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
// you can name an environment with specific settings and then specify with
|
||||
// "embark run custom_name" or "embark blockchain custom_name"
|
||||
//custom_name: {
|
||||
//}
|
||||
};
|
|
@ -0,0 +1,47 @@
|
|||
module.exports = {
|
||||
// default applies to all environments
|
||||
default: {
|
||||
enabled: true,
|
||||
provider: "whisper", // Communication provider. Currently, Embark only supports whisper
|
||||
available_providers: ["whisper"], // Array of available providers
|
||||
client: "geth"
|
||||
},
|
||||
|
||||
// default environment, merges with the settings in default
|
||||
// assumed to be the intended environment by `embark run`
|
||||
development: {
|
||||
connection: {
|
||||
host: "localhost", // Host of the provider node
|
||||
port: 8547, // Port of the provider node
|
||||
type: "ws" // Type of connection (ws or rpc)
|
||||
}
|
||||
},
|
||||
|
||||
// merges with the settings in default
|
||||
// used with "embark run privatenet"
|
||||
privatenet: {
|
||||
},
|
||||
|
||||
// merges with the settings in default
|
||||
// used with "embark run testnet"
|
||||
testnet: {
|
||||
},
|
||||
|
||||
// merges with the settings in default
|
||||
// used with "embark run livenet"
|
||||
livenet: {
|
||||
},
|
||||
|
||||
// you can name an environment with specific settings and then specify with
|
||||
// "embark run custom_name"
|
||||
//custom_name: {
|
||||
//}
|
||||
// Use this section when you need a specific symmetric or private keys in whisper
|
||||
/*
|
||||
,keys: {
|
||||
symmetricKey: "your_symmetric_key",// Symmetric key for message decryption
|
||||
privateKey: "your_private_key" // Private Key to be used as a signing key and for message decryption
|
||||
}
|
||||
*/
|
||||
//}
|
||||
};
|
|
@ -0,0 +1,53 @@
|
|||
module.exports = {
|
||||
// default applies to all environments
|
||||
default: {
|
||||
library: 'embarkjs', // can also be 'web3'
|
||||
|
||||
// order of connections the dapp should connect to
|
||||
dappConnection: [
|
||||
"$EMBARK",
|
||||
"$WEB3", // uses pre existing web3 object if available (e.g in Mist)
|
||||
"ws://localhost:8546",
|
||||
"http://localhost:8545"
|
||||
],
|
||||
|
||||
// Automatically call `ethereum.enable` if true.
|
||||
// If false, the following code must run before sending any transaction: `await EmbarkJS.enableEthereum();`
|
||||
// Default value is true.
|
||||
// dappAutoEnable: true,
|
||||
|
||||
gas: "auto",
|
||||
|
||||
// Strategy for the deployment of the contracts:
|
||||
// - implicit will try to deploy all the contracts located inside the contracts directory
|
||||
// or the directory configured for the location of the contracts. This is default one
|
||||
// when not specified
|
||||
// - explicit will only attempt to deploy the contracts that are explicitly specified inside the
|
||||
// contracts section.
|
||||
// strategy: 'implicit',
|
||||
|
||||
// minimalContractSize, when set to true, tells Embark to generate contract files without the heavy bytecodes
|
||||
// Using filteredFields lets you customize which field you want to filter out of the contract file (requires minimalContractSize: true)
|
||||
// minimalContractSize: false,
|
||||
// filteredFields: [],
|
||||
|
||||
deploy: {
|
||||
// example:
|
||||
//SimpleStorage: {
|
||||
// args: [ 100 ]
|
||||
//}
|
||||
}
|
||||
},
|
||||
|
||||
// default environment, merges with the settings in default
|
||||
// assumed to be the intended environment by `embark run`
|
||||
development: {},
|
||||
|
||||
// merges with the settings in default
|
||||
// used with "embark run privatenet"
|
||||
privatenet: {},
|
||||
|
||||
// you can name an environment with specific settings and then specify with
|
||||
// "embark run custom_name" or "embark blockchain custom_name"
|
||||
// custom_name: {}
|
||||
};
|
|
@ -0,0 +1 @@
|
|||
dev_password
|
|
@ -0,0 +1,39 @@
|
|||
module.exports = {
|
||||
// default applies to all environments
|
||||
default: {
|
||||
enabled: true,
|
||||
available_providers: ["ens"],
|
||||
provider: "ens"
|
||||
},
|
||||
|
||||
// default environment, merges with the settings in default
|
||||
// assumed to be the intended environment by `embark run`
|
||||
development: {
|
||||
register: {
|
||||
rootDomain: "embark.eth",
|
||||
subdomains: {
|
||||
'status': '0x1a2f3b98e434c02363f3dac3174af93c1d690914'
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
// merges with the settings in default
|
||||
// used with "embark run privatenet"
|
||||
privatenet: {
|
||||
},
|
||||
|
||||
// merges with the settings in default
|
||||
// used with "embark run testnet"
|
||||
testnet: {
|
||||
},
|
||||
|
||||
// merges with the settings in default
|
||||
// used with "embark run livenet"
|
||||
livenet: {
|
||||
},
|
||||
|
||||
// you can name an environment with specific settings and then specify with
|
||||
// "embark run custom_name" or "embark blockchain custom_name"
|
||||
//custom_name: {
|
||||
//}
|
||||
};
|
|
@ -0,0 +1,29 @@
|
|||
// Embark has support for Flow enabled by default in its built-in webpack
|
||||
// config: type annotations will automatically be stripped out of DApp sources
|
||||
// without any additional configuration. Note that type checking is not
|
||||
// performed during builds.
|
||||
|
||||
// To enable Flow type checking refer to the preconfigured template:
|
||||
// https://github.com/embarklabs/embark-flow-template
|
||||
// A new DApp can be created from that template with:
|
||||
// embark new --template flow
|
||||
// NOTE: the `--template` option is DEPRECATED in v5.
|
||||
|
||||
module.exports = {
|
||||
typescript: false,
|
||||
// Setting `typescript: true` in this config will disable Flow support in
|
||||
// Embark's default webpack config and enable TypeScript support: .ts and
|
||||
// .tsx sources will automatically be transpiled into JavaScript without any
|
||||
// additional configuration. Note that type checking is not performed during
|
||||
// builds.
|
||||
|
||||
// To enable TypeScript type checking refer to the preconfigured template:
|
||||
// https://github.com/embarklabs/embark-typescript-template
|
||||
// A new DApp can be created from that template with:
|
||||
// embark new --template typescript
|
||||
// NOTE: the `--template` option is DEPRECATED in v5.
|
||||
enabled: true
|
||||
// Setting `enabled: false` in this config will disable Embark's built-in Webpack
|
||||
// pipeline. The developer will need to use a different frontend build tool, such as
|
||||
// `create-react-app` or Angular CLI to build their dapp
|
||||
};
|
File diff suppressed because one or more lines are too long
|
@ -0,0 +1,20 @@
|
|||
{
|
||||
"config": {
|
||||
"homesteadBlock": 0,
|
||||
"byzantiumBlock": 0,
|
||||
"eip155Block": 0,
|
||||
"eip158Block": 0,
|
||||
"daoForkSupport": true
|
||||
},
|
||||
"nonce": "0x0000000000000042",
|
||||
"difficulty": "0x0",
|
||||
"alloc": {
|
||||
"0x3333333333333333333333333333333333333333": {"balance": "15000000000000000000"}
|
||||
},
|
||||
"mixhash": "0x0000000000000000000000000000000000000000000000000000000000000000",
|
||||
"coinbase": "0x3333333333333333333333333333333333333333",
|
||||
"timestamp": "0x00",
|
||||
"parentHash": "0x0000000000000000000000000000000000000000000000000000000000000000",
|
||||
"extraData": "0x",
|
||||
"gasLimit": "0x7a1200"
|
||||
}
|
|
@ -0,0 +1 @@
|
|||
dev_password
|
|
@ -0,0 +1,58 @@
|
|||
module.exports = {
|
||||
// default applies to all environments
|
||||
default: {
|
||||
enabled: true,
|
||||
ipfs_bin: "ipfs",
|
||||
available_providers: ["ipfs"],
|
||||
upload: {
|
||||
provider: "ipfs",
|
||||
host: "localhost",
|
||||
port: 5001
|
||||
},
|
||||
dappConnection: [
|
||||
{
|
||||
provider: "ipfs",
|
||||
host: "localhost",
|
||||
port: 5001,
|
||||
getUrl: "http://localhost:8080/ipfs/"
|
||||
}
|
||||
]
|
||||
// Configuration to start Swarm in the same terminal as `embark run`
|
||||
/*,account: {
|
||||
address: "YOUR_ACCOUNT_ADDRESS", // Address of account accessing Swarm
|
||||
password: "PATH/TO/PASSWORD/FILE" // File containing the password of the account
|
||||
},
|
||||
swarmPath: "PATH/TO/SWARM/EXECUTABLE" // Path to swarm executable (default: swarm)*/
|
||||
},
|
||||
|
||||
// default environment, merges with the settings in default
|
||||
// assumed to be the intended environment by `embark run`
|
||||
development: {
|
||||
upload: {
|
||||
provider: "ipfs",
|
||||
host: "localhost",
|
||||
port: 5001,
|
||||
getUrl: "http://localhost:8080/ipfs/"
|
||||
}
|
||||
},
|
||||
|
||||
// merges with the settings in default
|
||||
// used with "embark run privatenet"
|
||||
privatenet: {
|
||||
},
|
||||
|
||||
// merges with the settings in default
|
||||
// used with "embark run testnet"
|
||||
testnet: {
|
||||
},
|
||||
|
||||
// merges with the settings in default
|
||||
// used with "embark run livenet"
|
||||
livenet: {
|
||||
},
|
||||
|
||||
// you can name an environment with specific settings and then specify with
|
||||
// "embark run custom_name"
|
||||
//custom_name: {
|
||||
//}
|
||||
};
|
|
@ -0,0 +1 @@
|
|||
test_password
|
|
@ -0,0 +1,6 @@
|
|||
module.exports = {
|
||||
enabled: true,
|
||||
host: "localhost",
|
||||
openBrowser: true,
|
||||
port: 8000
|
||||
};
|
|
@ -0,0 +1,25 @@
|
|||
{
|
||||
"contracts": ["contracts/**"],
|
||||
"buildDir": "dist/",
|
||||
"config": "config/",
|
||||
"versions": {
|
||||
"solc": "0.6.1"
|
||||
},
|
||||
"plugins": {
|
||||
"embark-ipfs": {},
|
||||
"embark-swarm": {},
|
||||
"embark-whisper-geth": {},
|
||||
"embark-geth": {},
|
||||
"embark-parity": {},
|
||||
"embark-profiler": {},
|
||||
"embark-graph": {},
|
||||
"embark-basic-pipeline": {}
|
||||
},
|
||||
"options": {
|
||||
"solc": {
|
||||
"optimize": true,
|
||||
"optimize-runs": 200
|
||||
}
|
||||
},
|
||||
"generationDir": "src/embarkArtifacts"
|
||||
}
|
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,35 @@
|
|||
{
|
||||
"name": "gasless-democracy",
|
||||
"version": "6.0.0",
|
||||
"description": "Basic DApp template for Embark",
|
||||
"homepage": "https://github.com/embarklabs/embark/tree/master/dapps/templates/boilerplate#readme",
|
||||
"bugs": "https://github.com/embarklabs/embark/issues",
|
||||
"scripts": {
|
||||
"test": "embark test"
|
||||
},
|
||||
"keywords": [],
|
||||
"author": "",
|
||||
"license": "MIT",
|
||||
"repository": {
|
||||
"directory": "dapps/templates/boilerplate",
|
||||
"type": "git",
|
||||
"url": "https://github.com/embarklabs/embark.git"
|
||||
},
|
||||
"devDependencies": {
|
||||
"embark": "^6.0.0",
|
||||
"embark-basic-pipeline": "^6.0.0",
|
||||
"embark-geth": "^6.0.0",
|
||||
"embark-graph": "^6.0.0",
|
||||
"embark-ipfs": "^6.0.0",
|
||||
"embark-parity": "^6.0.0",
|
||||
"embark-profiler": "^6.0.0",
|
||||
"embark-swarm": "^6.0.0",
|
||||
"embark-whisper-geth": "^6.0.0",
|
||||
"embarkjs": "^6.0.0",
|
||||
"embarkjs-ens": "^6.0.0",
|
||||
"embarkjs-ipfs": "^6.0.0",
|
||||
"embarkjs-swarm": "^6.0.0",
|
||||
"embarkjs-web3": "^6.0.0",
|
||||
"embarkjs-whisper": "^6.0.0"
|
||||
}
|
||||
}
|
|
@ -0,0 +1 @@
|
|||
Subproject commit 7acf6add3b738e9f2134a729543abf280be65a33
|
|
@ -0,0 +1,41 @@
|
|||
/*global artifacts, contract, it*/
|
||||
/*
|
||||
const SimpleStorage = artifacts.require('SimpleStorage');
|
||||
|
||||
let accounts;
|
||||
|
||||
// For documentation please see https://framework.embarklabs.io/docs/contracts_testing.html
|
||||
config({
|
||||
//deployment: {
|
||||
// accounts: [
|
||||
// // you can configure custom accounts with a custom balance
|
||||
// // see https://framework.embarklabs.io/docs/contracts_testing.html#Configuring-accounts
|
||||
// ]
|
||||
//},
|
||||
contracts: {
|
||||
"SimpleStorage": {
|
||||
args: [100]
|
||||
}
|
||||
}
|
||||
}, (_err, web3_accounts) => {
|
||||
accounts = web3_accounts
|
||||
});*/
|
||||
|
||||
contract.skip("SimpleStorage", function () {
|
||||
|
||||
it("should set constructor value", async function () {
|
||||
let result = await SimpleStorage.methods.storedData().call();
|
||||
assert.strictEqual(parseInt(result, 10), 100);
|
||||
});
|
||||
|
||||
it("set storage value", async function () {
|
||||
await SimpleStorage.methods.set(150).send();
|
||||
let result = await SimpleStorage.methods.get().call();
|
||||
assert.strictEqual(parseInt(result, 10), 150);
|
||||
});
|
||||
|
||||
it("should have account with balance", async function() {
|
||||
let balance = await web3.eth.getBalance(accounts[0]);
|
||||
assert.ok(parseInt(balance, 10) > 0);
|
||||
});
|
||||
});
|
Loading…
Reference in New Issue