embark/site
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
..
scripts chore: move embark site into mono repo 2019-04-29 13:00:58 +02:00
source feat(plugins/specialconfigs): adds support for Smart Contract args as functions 2020-03-03 10:14:58 +01:00
themes/embark build(deps): bump uuid from 3.4.0 to 7.0.1 in /site 2020-03-02 13:06:23 -06:00
.gitignore fix: add missing linkjuice built 2019-05-07 17:42:32 +02:00
CNAME chore: update site urls 2020-01-28 12:07:17 -05:00
LICENSE chore: move embark site into mono repo 2019-04-29 13:00:58 +02:00
README.md chore: rename org references from embark-framework to embarklabs 2020-01-16 15:36:29 -05:00
_config.yml chore: update site urls 2020-01-28 12:07:17 -05:00
deploy-site.js chore: rename org references from embark-framework to embarklabs 2020-01-16 15:36:29 -05:00
gulpfile.js chore: move embark site into mono repo 2019-04-29 13:00:58 +02:00
package.json build(deps): bump uuid from 3.4.0 to 7.0.1 in /site 2020-03-02 13:06:23 -06:00
yarn.lock build(deps): bump uuid from 3.4.0 to 7.0.1 in /site 2020-03-02 13:06:23 -06:00

README.md

Embark Official Website

The website for Embark.

Getting started

Install dependencies:

$ git clone https://github.com/embarklabs/embark.git
$ cd embark/site
$ npm install

Generate:

$ hexo generate

Run server:

$ hexo server