diff --git a/.env.example b/.env.example index ec26679e..e106cd82 100644 --- a/.env.example +++ b/.env.example @@ -18,11 +18,11 @@ HAPI_POSTGRES_DB=eosrate HAPI_POSTGRES_SCHEMA=public HAPI_SERVER_PORT=9090 HAPI_SERVER_ADDRESS=0.0.0.0 -HAPI_EOS_API_ENDPOINT=https://jungle3.cryptolions.io +HAPI_EOS_API_ENDPOINT=https://jungle.edenia.cloud HAPI_EOS_CHAIN_ID=aca376f206b8fc25a6ed44dbdc66547c36c6c33e3a119ffbeaef943642f0e906 HAPI_PROXY_CONTRACT=proxyaccount HAPI_RATING_CONTRACT=rateproducer -HAPI_HYPERION_API=https://jungle3history.cryptolions.io +HAPI_HYPERION_API=http://jungle.eosusa.io HAPI_HYPERION_START_AT=2022-03-01T00:00:00.000+00:00 HAPI_HASURA_URL=http://hasura:8080/v1/graphql HAPI_HASURA_ADMIN_SECRET=myadminsecretkey @@ -34,16 +34,16 @@ HASURA_GRAPHQL_ACTION_BASE_URL=http://hapi:9090 # WEBAPP REACT_APP_RATING_CONTRACT=rateproducer REACT_APP_GRAPHQL_HTTP_URL=http://localhost:8080/v1/graphql -REACT_APP_API_URL=https://jungle3.cryptolions.io +REACT_APP_API_URL=https://jungle.edenia.cloud REACT_APP_GRAPHQL_WS_URL=ws://localhost:8080/v1/graphql -REACT_APP_EOS_API_URL=https://jungle3.cryptolions.io -REACT_APP_EOS_API_HOST=jungle3.cryptolions.io +REACT_APP_EOS_API_URL=https://jungle.edenia.cloud +REACT_APP_EOS_API_HOST=jungle.edenia.cloud REACT_APP_EOS_API_PORT=443 REACT_APP_EOS_API_PROTOCOL=https -REACT_APP_EOS_CHAIN_ID=2a02a0053e5a8cf73a56ba0fda11e4d92e0238a4a2aa74fccf46d5a910746840 +REACT_APP_EOS_CHAIN_ID=73e4385a2708e6d7048834fbc1079f2fabb17b3c125b146af438971e90716c4d REACT_APP_BLOCK_EXPLORER=https://jungle3.bloks.io REACT_APP_NETWORK_MONITOR_URL=https://jungle.eosio.online/ REACT_APP_VERSION=v1.4.21 REACT_APP_MAINNET_VERSION= v1.4.21 -REACT_APP_EDEN_CONTRACT=genesisdeden +REACT_APP_EDEN_CONTRACT=genesis.eden REACT_APP_UAL_APP_NAME=EOSRate \ No newline at end of file diff --git a/.github/workflows/push-staging-environment.yaml b/.github/workflows/push-staging-environment.yaml index 52003f99..02387d26 100644 --- a/.github/workflows/push-staging-environment.yaml +++ b/.github/workflows/push-staging-environment.yaml @@ -45,15 +45,15 @@ jobs: REACT_APP_VERSION: ${{ github.ref }} REACT_APP_RATING_CONTRACT: rateproducer REACT_APP_MAINNET_VERSION: false - REACT_APP_EDEN_CONTRACT: genesisdeden + REACT_APP_EDEN_CONTRACT: genesis.eden REACT_APP_GRAPHQL_HTTP_URL: https://graphql-jungle.eosrate.io/v1/graphql REACT_APP_GRAPHQL_WS_URL: wss://graphql-jungle.eosrate.io/v1/graphql - REACT_APP_EOS_API_URL: https://jungle3.cryptolions.io - REACT_APP_EOS_API_HOST: jungle3.cryptolions.io + REACT_APP_EOS_API_URL: https://jungle.edenia.cloud + REACT_APP_EOS_API_HOST: jungle.edenia.cloud REACT_APP_EOS_API_PORT: 443 REACT_APP_EOS_API_PROTOCOL: https - REACT_APP_EOS_CHAIN_ID: 2a02a0053e5a8cf73a56ba0fda11e4d92e0238a4a2aa74fccf46d5a910746840 - REACT_APP_BLOCK_EXPLORER: https://jungle3.bloks.io + REACT_APP_EOS_CHAIN_ID: 73e4385a2708e6d7048834fbc1079f2fabb17b3c125b146af438971e90716c4d + REACT_APP_BLOCK_EXPLORER: https://local.bloks.io/?nodeUrl=https%3A%2F%2Fjungle4.api.eosnation.io&systemDomain=eosio&hyperionUrl=https%3A%2F%2Fjungle4.cryptolions.io REACT_APP_NETWORK_MONITOR_URL: https://jungle.eosio.online/ - name: Build kubernetes files @@ -87,9 +87,9 @@ jobs: HAPI_POSTGRES_HOST: postgres HAPI_POSTGRES_PORT: 5432 HAPI_POSTGRES_SCHEMA: public - HAPI_EOS_API_ENDPOINT: https://jungle3.cryptolions.io - HAPI_EOS_CHAIN_ID: 2a02a0053e5a8cf73a56ba0fda11e4d92e0238a4a2aa74fccf46d5a910746840 - HAPI_HYPERION_API: https://jungle3history.cryptolions.io + HAPI_EOS_API_ENDPOINT: https://jungle.edenia.cloud + HAPI_EOS_CHAIN_ID: 73e4385a2708e6d7048834fbc1079f2fabb17b3c125b146af438971e90716c4d + HAPI_HYPERION_API: http://jungle.eosusa.io HAPI_HYPERION_START_AT: '2022-03-01T00:00:00.000+00:00' # hasura HASURA_GRAPHQL_DATABASE_URL: ${{ secrets.HASURA_GRAPHQL_DATABASE_URL }} diff --git a/contracts/rateproducer/README.md b/contracts/rateproducer/README.md index 1e5ec2be..cb550acd 100644 --- a/contracts/rateproducer/README.md +++ b/contracts/rateproducer/README.md @@ -50,12 +50,12 @@ make -j Add resources: ```bash -cleos -u https://jungle3.cryptolions.io system buyram rateproducer rateproducer "100 EOS" +cleos -u https://jungle.edenia.cloud system buyram rateproducer rateproducer "100 EOS" ``` Publish Contract: ```bash -cleos -u https://jungle3.cryptolions.io set contract rateproducer ./ -p rateproducer@active +cleos -u https://jungle.edenia.cloud set contract rateproducer ./ -p rateproducer@active ``` Push rating with all categories: @@ -66,7 +66,7 @@ cleos -u hhttp://jungle2.cryptolions.io:80 push action rateproducer rate '{ "use example 2: ```bash -cleos -u https://jungle3.cryptolions.io push action rateproducer rate '{ "user": "eoscrvoter11", "bp":"eoscrprodo51","transparency":8,"infrastructure":8,"trustiness":7,"development":6,"community":9 }' -p eoscrvoter11@active +cleos -u https://jungle.edenia.cloud push action rateproducer rate '{ "user": "eoscrvoter11", "bp":"eoscrprodo51","transparency":8,"infrastructure":8,"trustiness":7,"development":6,"community":9 }' -p eoscrvoter11@active ``` Push rating with partial categories: @@ -76,12 +76,12 @@ cleos -u http://monitor.jungletestnet.io:8888 push action rateproducer rate '{ " Get stats table: ```bash -cleos -u https://jungle3.cryptolions.io get table -l 50 rateproducer rateproducer stats +cleos -u https://jungle.edenia.cloud get table -l 50 rateproducer rateproducer stats ``` Get bp table: ```bash -cleos -u https://jungle3.cryptolions.io get table -l 50 rateproducer rateproducer ratings +cleos -u https://jungle.edenia.cloud get table -l 50 rateproducer rateproducer ratings ``` Clean data for a block producer: diff --git a/hapi/src/libs/sync-bps.js b/hapi/src/libs/sync-bps.js index 8234a24c..f2a13720 100644 --- a/hapi/src/libs/sync-bps.js +++ b/hapi/src/libs/sync-bps.js @@ -4,7 +4,7 @@ const request = require('request-promise') const { massiveDB, chainConfig } = require('../config') const HAPI_EOS_API_ENDPOINT = - process.env.HAPI_EOS_API_ENDPOINT || 'https://jungle3.cryptolions.io' + process.env.HAPI_EOS_API_ENDPOINT || 'https://jungle.edenia.cloud' const getBlockProducersData = async () => { const eos = EosApi({