From 0f85c8ce1992529574cf94d55d424d6822b971b9 Mon Sep 17 00:00:00 2001 From: Iuri Matias Date: Tue, 18 Jun 2019 08:13:43 -0400 Subject: [PATCH] first commit --- .gitignore | 9 +++++++++ .npmrc | 0 app/css/.gitkeep | 0 app/images/.gitkeep | 0 app/index.html | 11 +++++++++++ app/js/.gitkeep | 0 app/js/index.js | 10 ++++++++++ embark.json | 26 ++++++++++++++++++++++++++ 8 files changed, 56 insertions(+) create mode 100644 .gitignore create mode 100644 .npmrc create mode 100644 app/css/.gitkeep create mode 100644 app/images/.gitkeep create mode 100644 app/index.html create mode 100644 app/js/.gitkeep create mode 100644 app/js/index.js create mode 100644 embark.json diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..0562a4b --- /dev/null +++ b/.gitignore @@ -0,0 +1,9 @@ +.embark +chains.json +config/livenet/password +config/production/password +coverage +dist +embarkArtifacts +node_modules +TODO \ No newline at end of file diff --git a/.npmrc b/.npmrc new file mode 100644 index 0000000..e69de29 diff --git a/app/css/.gitkeep b/app/css/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/app/images/.gitkeep b/app/images/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/app/index.html b/app/index.html new file mode 100644 index 0000000..fb72540 --- /dev/null +++ b/app/index.html @@ -0,0 +1,11 @@ + + + Embark + + + + +

Welcome to Embark!

+

See the Embark's documentation to see what you can do with Embark!

+ + diff --git a/app/js/.gitkeep b/app/js/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/app/js/index.js b/app/js/index.js new file mode 100644 index 0000000..fc58b25 --- /dev/null +++ b/app/js/index.js @@ -0,0 +1,10 @@ +import EmbarkJS from 'Embark/EmbarkJS'; + +// import your contracts +// e.g if you have a contract named SimpleStorage: +//import SimpleStorage from 'Embark/contracts/SimpleStorage'; + + +EmbarkJS.onReady((err) => { + // You can execute contract calls after the connection +}); diff --git a/embark.json b/embark.json new file mode 100644 index 0000000..407daf1 --- /dev/null +++ b/embark.json @@ -0,0 +1,26 @@ +{ + "contracts": ["contracts/**"], + "app": { + "css/app.css": ["app/css/**"], + "js/app.js": ["app/js/index.js"], + "images/": ["app/images/**"], + "index.html": "app/index.html" + }, + "buildDir": "dist/", + "config": "config/", + "versions": { + "web3": "1.0.0-beta", + "solc": "0.5.0", + "ipfs-api": "17.2.4" + }, + "plugins": { + "embarkjs-connector-web3": {} + }, + "options": { + "solc": { + "optimize": true, + "optimize-runs": 200 + } + }, + "generationDir": "embarkArtifacts" +}