embark/dapps/tests/app
Pascal Precht a4a0e9dc33 feat(plugins/specialconfigs): adds support for Smart Contract args as functions
This commit introduces a new feature that enables users to calculate Smart Contract
constructor arguments lazily using an (async) function. Similar to normal Smart Contract
configurations, the return or resolved value from that function has to be either a list
of arguments in the order as they are needed for the constructor, or as an object with
named members that match the arguments individually.

```
...
development: {
  deploy: {
    SimpleStorage: {
      args: async ({ contracts, web3, logger}) => {
        // do something with `contracts` and `web3` to determine
        // arguments
        let someValue = await ...;
        return [someValue];

        // or
        return {
          initialValue: someValue
        };
      }
    }
  }
}
...
```

Closes #2270
2020-03-03 10:14:58 +01:00
..
another_folder build: make DApp templates member packages of the monorepo 2019-03-05 10:20:57 -06:00
app chore: rename org references from embark-framework to embarklabs 2020-01-16 15:36:29 -05:00
config feat(plugins/specialconfigs): adds support for Smart Contract args as functions 2020-03-03 10:14:58 +01:00
some_folder build: make DApp templates member packages of the monorepo 2019-03-05 10:20:57 -06:00
test fix: revert custom `deploy()` API for `EmbarkJS.Contract` 2020-02-19 11:25:20 -05:00
.npmrc build: make DApp templates member packages of the monorepo 2019-03-05 10:20:57 -06:00
CHANGELOG.md chore(prerelease): 5.3.0-nightly.2 2020-03-03 00:14:47 +00:00
README.md chore: update site urls 2020-01-28 12:07:17 -05:00
embark.json feat: warn about packages not configured as plugins; make geth/parity full plugins 2020-02-13 11:48:43 -05:00
package.json chore(prerelease): 5.3.0-nightly.2 2020-03-03 00:14:47 +00:00
test.file build: make DApp templates member packages of the monorepo 2019-03-05 10:20:57 -06:00

README.md

embark-dapp-test-app

Test DApp for integration testing purposes

In the top-level of the monorepo

yarn globalize to make development embark available on the global PATH.

In this directory

embark run to check if everything is behaving as expected.

embark test to see tests are working as expected.

Visit framework.embarklabs.io to get started with Embark.