fix: update embark and deploy contracts

This commit is contained in:
Richard Ramos 2021-01-13 15:01:08 -04:00
parent 26dd30dfe2
commit c575e60a6b
No known key found for this signature in database
GPG Key ID: 80D4B01265FDFE8F
7 changed files with 1474 additions and 963 deletions

View File

@ -16,15 +16,15 @@ module.exports = {
development: {
networkType: 'testnet',
endpoint: `https://ropsten.infura.io/v3/8675214b97b44e96b70d05326c61fd6a`,
endpoint: `https://ropsten.infura.io/v3/9ad2b075061f4ef9b5dd20859eeb8830`,
},
testnet: {
networkType: 'testnet',
endpoint: `https://ropsten.infura.io/v3/8675214b97b44e96b70d05326c61fd6a`,
endpoint: `https://ropsten.infura.io/v3/9ad2b075061f4ef9b5dd20859eeb8830`,
},
livenet: {
endpoint: `https://mainnet.infura.io/v3/8675214b97b44e96b70d05326c61fd6a`,
endpoint: `https://mainnet.infura.io/v3/9ad2b075061f4ef9b5dd20859eeb8830`,
},
}

View File

@ -1,5 +1,6 @@
module.exports = {
default: {
library: 'embarkjs', // can be also be 'web3'
dappAutoEnable: false,
gas: 'auto',
@ -17,7 +18,7 @@ module.exports = {
development: {
dappConnection: [
'$WEB3',
'https://ropsten.infura.io/v3/8675214b97b44e96b70d05326c61fd6a',
'https://ropsten.infura.io/v3/9ad2b075061f4ef9b5dd20859eeb8830',
],
deploy: {
Discover: {
@ -33,7 +34,7 @@ module.exports = {
testnet: {
dappConnection: [
'$WEB3',
'https://ropsten.infura.io/v3/8675214b97b44e96b70d05326c61fd6a',
'https://ropsten.infura.io/v3/9ad2b075061f4ef9b5dd20859eeb8830',
],
deploy: {
Discover: {
@ -45,7 +46,7 @@ module.exports = {
livenet: {
dappConnection: [
'$WEB3',
'https://mainnet.infura.io/v3/8675214b97b44e96b70d05326c61fd6a',
'https://mainnet.infura.io/v3/9ad2b075061f4ef9b5dd20859eeb8830',
],
deploy: {
MiniMeTokenFactory: {

View File

@ -0,0 +1 @@
dev_password

1
config/testnet/password Normal file
View File

@ -0,0 +1 @@
test_password

View File

@ -12,6 +12,7 @@
"flags": ""
}
},
"embark-geth": {},
"options": {
"solc": {
"optimize": true,

View File

@ -12,21 +12,26 @@
"fullbuild:webapp": "mkdir full-build/frontend && cp -r WebApp/build/* full-build/frontend/",
"fullbuild:archive": "cd full-build/ && bestzip ../app.zip * && cd ..",
"create:fullbuild": "yarn build && yarn fullbuild:clean && yarn fullbuild:init && yarn fullbuild:misc && yarn fullbuild:backend && yarn fullbuild:webapp && yarn fullbuild:archive",
"build-internal": "yarn wsrun --stages --exclude-missing -c build",
"build": "dotenv yarn build-internal",
"build:local": "dotenv yarn build",
"build:webapp-internal": "yarn wsrun -p webapp -c build",
"build:webapp": "dotenv yarn build:webapp-internal",
"start:dev-internal": "yarn wsrun --parallel --exclude-missing start:dev",
"start:dev": "dotenv yarn start:dev-internal",
"start:prod-internal": "yarn wsrun --parallel --exclude-missing start:prod",
"start:prod": "dotenv yarn start:prod-internal",
"prettify": "prettier --write './**/**'",
"lint": "eslint --ext .jsx,.ts,.tsx .",
"lint:fix": "eslint --ext .jsx,.ts,.tsx . --fix ",
"lint:css": "stylelint './**/*.js'",
"lint:staged": "lint-staged",
"clean": "rm -rf ./node_modules && rm -rf ./*/node_modules",
"test:webapp": "cd Webapp && yarn test:watch"
},
"workspaces": {
@ -47,16 +52,18 @@
"bestzip": "^2.1.5",
"chalk": "^2.0.1",
"dotenv": "^6.1.0",
"embark": "5.2.3",
"embark": "6.0.0",
"embark-basic-pipeline": "6.0.0",
"embark-geth": "6.0.0",
"embark-etherscan-verifier": "^4.0.0",
"embark-solc": "5.2.3",
"embark-solc": "6.0.0",
"embark-solium": "0.1.0",
"embarkjs": "5.2.3",
"embarkjs-ens": "5.2.3",
"embarkjs-ipfs": "5.2.3",
"embarkjs-swarm": "5.2.3",
"embarkjs-web3": "5.2.3",
"embarkjs-whisper": "5.2.3",
"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",
"eslint": "^7.2.0",
"eslint-config-airbnb": "^18.1.0",
"eslint-config-prettier": "^6.11.0",

2398
yarn.lock

File diff suppressed because it is too large Load Diff