diff --git a/.github/workflows/prettier.yaml b/.github/workflows/prettier.yaml new file mode 100644 index 000000000..52f78bcaa --- /dev/null +++ b/.github/workflows/prettier.yaml @@ -0,0 +1,16 @@ +name: Lint Check +on: [push, pull_request, merge_group] +jobs: + test: + runs-on: ubuntu-latest + name: Lint Check + steps: + - uses: actions/checkout@v2 + - name: Setup node + uses: actions/setup-node@v1 + with: + node-version: 18 + - name: Install prettier + run: npm install -g prettier + - name: Check linting + run: prettier --check src/ diff --git a/README.md b/README.md index 2b4f30880..ed9e964fb 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,7 @@ # 🐻@berachain/default-lists🐻 [![Tests](https://github.com/Uniswap/token-lists/workflows/Tests/badge.svg)](https://github.com/Berachain/default-token-list/actions?query=workflow%3ATests) +[![Lint Check](https://github.com/berachain/default-lists/actions/workflows/prettier.yaml/badge.svg)](https://github.com/berachain/default-lists/actions/workflows/prettier.yaml) This GitHub repo contains default lists for configuring Berachain interfaces. @@ -20,8 +21,10 @@ To request that we add a validator to the list, [file an issue](https://github.com/berachain/default-lists/issues/new?assignees=&labels=validator+request&projects=&template=validator-request.md&title=Add+%7BVALIDATOR_NAME%7D). ## Contributing + - ℹ️ PLEASE ADD YOUR NEW ITEM TO THE TOP OF THE LIST TO AVOID JSON TRAILING COMMA ISSUE 🚀 - ℹ️ AFTER OPENING AN ISSUE, CREATE A BRANCH AND ADD YOUR CHANGES. WHEN READY, CREATE A PR AND LINK YOUR ISSUE IN THE PR 🚀 +- ℹ️ PLEASE RUN `pnpm lint`BEFORE YOU PUSH 🚀 ### Disclaimer diff --git a/package.json b/package.json index 6abe4c1f4..1f10fd725 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,8 @@ "scripts": { "test": "mocha", "build": "rimraf build && mkdir -p build", - "prepublishOnly": "npm test && npm run build" + "prepublishOnly": "npm test && npm run build", + "lint": "prettier --write src/" }, "files": [ "build/berachain-default.tokenlist.json" @@ -34,5 +35,8 @@ "chai": "^4.2.0", "mocha": "^8.0.1", "rimraf": "^3.0.2" + }, + "dependencies": { + "prettier": "^3.3.1" } } diff --git a/src/assets/1xp.png b/src/assets/1xp.png new file mode 100644 index 000000000..233da0007 Binary files /dev/null and b/src/assets/1xp.png differ diff --git a/src/assets/Everstake.png b/src/assets/Everstake.png new file mode 100644 index 000000000..573a6517d Binary files /dev/null and b/src/assets/Everstake.png differ diff --git a/src/assets/KingSuper.png b/src/assets/KingSuper.png new file mode 100644 index 000000000..4fe2571d7 Binary files /dev/null and b/src/assets/KingSuper.png differ diff --git a/src/assets/asymmetric_re.png b/src/assets/asymmetric_re.png new file mode 100644 index 000000000..29095804d Binary files /dev/null and b/src/assets/asymmetric_re.png differ diff --git a/src/assets/b-harvest.png b/src/assets/b-harvest.png new file mode 100644 index 000000000..48471d2a3 Binary files /dev/null and b/src/assets/b-harvest.png differ diff --git a/src/assets/blrd.gif b/src/assets/blrd.gif new file mode 100644 index 000000000..50d39eca2 Binary files /dev/null and b/src/assets/blrd.gif differ diff --git a/src/assets/kintsugi.png b/src/assets/kintsugi.png new file mode 100644 index 000000000..b5d7770f7 Binary files /dev/null and b/src/assets/kintsugi.png differ diff --git a/src/assets/meria.png b/src/assets/meria.png new file mode 100644 index 000000000..2ae75543f Binary files /dev/null and b/src/assets/meria.png differ diff --git a/src/assets/simplystaking.png b/src/assets/simplystaking.png new file mode 100644 index 000000000..13cbd2e77 Binary files /dev/null and b/src/assets/simplystaking.png differ diff --git a/src/assets/staked.png b/src/assets/staked.png new file mode 100644 index 000000000..75b9c8ef2 Binary files /dev/null and b/src/assets/staked.png differ diff --git a/src/assets/stakin-logo-square.png b/src/assets/stakin-logo-square.png new file mode 100644 index 000000000..6f872530f Binary files /dev/null and b/src/assets/stakin-logo-square.png differ diff --git a/src/gauges/bartio/defaultGaugeList.json b/src/gauges/bartio/defaultGaugeList.json index 6ec1a1505..4ace6cfa9 100644 --- a/src/gauges/bartio/defaultGaugeList.json +++ b/src/gauges/bartio/defaultGaugeList.json @@ -37,8 +37,8 @@ "support": false }, { - "receiptTokenAddress": "0x874545db2C8809baB99FD235D23Fe302e3a0A9Be", - "vaultAddress": "0xc80d9250f76afd0a7beff61d5cce0198b6e2c708", + "receiptTokenAddress": "0x1306D3c36eC7E38dd2c128fBe3097C2C2449af64", + "vaultAddress": "0xC5Cb3459723B828B3974f7E58899249C2be3B33d", "name": "BHONEY", "logoURI": "https://res.cloudinary.com/duv0g402y/raw/upload/src/assets/bhoneyg.png", "product": "BERPS", diff --git a/src/tokens/bartio/defaultTokenList.json b/src/tokens/bartio/defaultTokenList.json index 3c29ce3ef..0b354fe95 100644 --- a/src/tokens/bartio/defaultTokenList.json +++ b/src/tokens/bartio/defaultTokenList.json @@ -30,7 +30,7 @@ "deposit": { "name": "Deposit Token", "description": "Tokens that can be deposited in Bend" - }, + }, "rewardToken": { "name": "Reward Token", "description": "Tokens that are used for vault deposits to earn BGT rewards" @@ -118,7 +118,8 @@ "decimals": 18, "logoURI": "https://artio-static-asset-public.s3.ap-southeast-1.amazonaws.com/assets/honey.png", "tags": ["supply"] - },{ + }, + { "chainId": 80084, "address": "0x8Ce5C1c42CD58B7aE61512790e514a82d84375Ed", "symbol": "aWETH", diff --git a/src/validators/bartio/defaultValidatorList.json b/src/validators/bartio/defaultValidatorList.json index 22781ecee..c66eb5d0f 100644 --- a/src/validators/bartio/defaultValidatorList.json +++ b/src/validators/bartio/defaultValidatorList.json @@ -1,6 +1,22 @@ { "name": "Berachain Bartio Validator List", "validators": [ + { + "id": "0x7A9Ba30e544d2b6F1cD11709e9F0a5C57A779e94", + "logoURI": "https://res.cloudinary.com/duv0g402y/raw/upload/src/assets/1xp.png", + "name": "1XP", + "description": "We always ensure that our actions are transparent and can be verified as truthful.", + "website": "https://www.1xp.com", + "twitter": "https://x.com/1XP_Inc" + }, + { + "id": "0x447B00FF9F40725C91BBb159068Be136F1dbb434", + "logoURI": "https://www.meria.com/images/branding/logo-line-color.svg", + "name": "Meria", + "description": "Meria is an institutional-grade staking service provider running blockchain infrastructure on more than +35 networks.", + "website": "https://meria.com", + "twitter": "https://x.com/Meria_Finance" + }, { "id": "0x2D764DFeaAc00390c69985631aAA7Cc3fcfaFAfF", "logoURI": "https://res.cloudinary.com/duv0g402y/raw/upload/src/assets/infrared.jpg", @@ -18,12 +34,12 @@ "twitter": "https://x.com/allnodes" }, { - "id": "0xA7B927Cc85bFB997765aC86a86e46d36413e9B57", - "logoURI": "https://res.cloudinary.com/duv0g402y/raw/upload/src/assets/nodemeister.png", - "name": "nodemeister", - "description": "freedom through decentralization", - "website": "", - "twitter": "https://x.com/nodemeister" + "id": "0xA7B927Cc85bFB997765aC86a86e46d36413e9B57", + "logoURI": "https://res.cloudinary.com/duv0g402y/raw/upload/src/assets/nodemeister.png", + "name": "nodemeister", + "description": "freedom through decentralization", + "website": "", + "twitter": "https://x.com/nodemeister" }, { "id": "0x3Ab20D8fC60bDEddC1195C82eFD971024E7f90f4", @@ -73,6 +89,14 @@ "website": "", "twitter": "" }, + { + "id": "0xa753f4db52c014d416589240d7606bdeca7b2f80", + "logoURI": "https://res.cloudinary.com/duv0g402y/raw/upload/src/assets/asymmetric_re.png", + "name": "Asymmetric Research", + "description": "High integrity validation and infrastructure services for web3 ecosystems", + "website": "https://www.asymmetric.re", + "twitter": "https://twitter.com/asymmetric_re" + }, { "id": "0x8a88215ae882dfA519730c40109556c1C235729f", "logoURI": "", @@ -193,6 +217,14 @@ "website": "", "twitter": "" }, + { + "id": "0x2Ecd703B119C3FbFb2ec4b9FFa6d8756f7De9428", + "logoURI": "https://res.cloudinary.com/dah5s50tj/image/upload/v1717928066/3f032a74a49c38b9382090fb16b1f605_360_360_ceyhhe.jpg", + "name": "MantiCore", + "description": "Secure and reliable individual PoS/PoW validator. Best uptime and 24/7 support.", + "website": "https://manticore.team", + "twitter": "https://twitter.com/MantiCoreNodes" + }, { "id": "0xC09A619A872c56C8de1354A4309aBBF317938084", "logoURI": "https://res.cloudinary.com/duv0g402y/raw/upload/src/assets/kudasaijp.png", @@ -256,7 +288,7 @@ "description": "Staking and relaying Hub for Cosmos ecosystem", "website": "https://www.stakelab.zone", "twitter": "https://x.com/StakeLab" - }, + }, { "id": "0x4AfB6199d1A92D1236cAa74b8dFE99F1EA3A8fF2", "logoURI": "https://raw.githubusercontent.com/StakeUs/Stakeus_LOGO/main/logo-no-background.png", @@ -272,7 +304,7 @@ "description": "OriginStake is a trusted Proof-of-Stake infrastructure provider and validator to comfortably stake your coins and earn rewards with Berachain.", "website": "https://originstake.com", "twitter": "https://x.com/originstake" - }, + }, { "id": "0x73B969ADE706e89469134f3b78b4E74FC16477bE", "logoURI": "https://raw.githubusercontent.com/blacknodes/logos/main/logo-no-background.png", @@ -463,7 +495,7 @@ "description": "Trusted infrastructure and validator service provider for over 50 networks. Dedicated to delivering reliable and secure solutions. ", "website": "https://stakingcabin.com", "twitter": "https://twitter.com/StakingCabin" - }, + }, { "id": "0x1Cc335D9c67a71C777282fdb28b0a2d5eBf42AF4", "logoURI": "https://res.cloudinary.com/duv0g402y/raw/upload/src/assets/flipside.png", @@ -497,12 +529,12 @@ "twitter": "https://x.com/Provalidator" }, { - "id": "0x462f0560e473e1545Fd4d0680C02c499aaf01711", - "logoURI": "https://i0.wp.com/h2o-nodes.com/wp-content/uploads/2022/05/H2O-Nodes-logo-A1-4095064980-1653758705955.jpg", - "name": "H2O Nodes", - "description": "On Prem Validators from Austria", - "website": "https://www.h2o-nodes.com", - "twitter": "https://www.twitter.com/H2oNodes" + "id": "0x462f0560e473e1545Fd4d0680C02c499aaf01711", + "logoURI": "https://i0.wp.com/h2o-nodes.com/wp-content/uploads/2022/05/H2O-Nodes-logo-A1-4095064980-1653758705955.jpg", + "name": "H2O Nodes", + "description": "On Prem Validators from Austria", + "website": "https://www.h2o-nodes.com", + "twitter": "https://www.twitter.com/H2oNodes" }, { "id": "0x201c74de018aa34214BEEFFaF717e1d5F36261a7", @@ -521,12 +553,12 @@ "twitter": "https://twitter.com/brightlystake" }, { - "id": "0x1ab189B7801140900C711E458212F9c76F8dAC79", - "logoURI": "https://raw.githubusercontent.com/Frixoe/lgnsmeta/main/lugahils.jpeg", - "name": "Luganodes", - "description": "Swiss-Operated Institutional Grade Staking Provider", - "website": "https://luganodes.com", - "twitter": "https://x.com/luganodes" + "id": "0x1ab189B7801140900C711E458212F9c76F8dAC79", + "logoURI": "https://raw.githubusercontent.com/Frixoe/lgnsmeta/main/Lugahills.jpg", + "name": "Luganodes", + "description": "Swiss-Operated Institutional Grade Staking Provider", + "website": "https://luganodes.com", + "twitter": "https://x.com/luganodes" }, { "id": "0x2C8D3b794c5FC05Fe6A91AD4C4F3a66620ff9aa5", @@ -544,6 +576,22 @@ "website": "https://www.shinlabs.xyz", "twitter": "" }, + { + "id": "0xF8E73371C8C79358CA0140579B553F0A8D5A19A3", + "logoURI": "https://s3.ap-northeast-1.amazonaws.com/wraptas-prod/blrd/30e7bb5c-c2d3-414e-91d5-f44247179b58/1456028aa49b20780d85650680524b1e.gif", + "name": "BLRD", + "description": "BLRD is a subsidiary of GREE, a Japanese game company.", + "website": "https://blrd.inc", + "twitter": "https://x.com/helloblrd" + }, + { + "id": "0xDcb7DE385dA16c69284351C9fAfEda1Bfeee6ceE", + "logoURI": "https://res.cloudinary.com/duv0g402y/raw/upload/src/assets/kintsugi.png", + "name": "Kintsugi Nodes", + "description": "Your professional, global PoS validator. Delegate, earn, and join our journey to a golden blockchain.", + "website": "https://www.kintsugi.tech", + "twitter": "https://x.com/kintsugi_tech" + }, { "id": "0x20FB4a3366bC54a981F7E6173e52EA645C825679", "logoURI": "https://res.cloudinary.com/duv0g402y/raw/upload/src/assets/verse2.png", @@ -559,6 +607,61 @@ "description": "Secure Berachain and shape its future by delegating to Chorus One, a highly secure and stable validator. By delegating, you agree to the terms of service at: https://chorus.one/tos", "website": "https://chorus.one", "twitter": "https://twitter.com/chorusone/" + }, + { + "id": "0x6f06dd615817886e8e1c3cb837bf69f94e903472", + "logoURI": "https://res.cloudinary.com/duv0g402y/raw/upload/src/assets/Everstake.png", + "name": "Everstake", + "description": "Everstake is a staking-as-a-service company. We help institutional investors and regular token holders to profit off their crypto assets. Choose the most promising projects, delegate with Everstake, and make a stable passive income.", + "website": "https://everstake.one", + "twitter": "https://twitter.com/everstake_pool" + }, + { + "id": "0x61AF17565b671e9b84869615d6889F1Eb7eDe223", + "logoURI": "https://res.cloudinary.com/duv0g402y/raw/upload/src/assets/b-harvest.png", + "name": "B-Harvest", + "description": "Provides secure validation services for dPoS networks", + "website": "https://bharvest.io/", + "twitter": "https://x.com/B__Harvest" + }, + { + "id": "0x377bcA11d71eBE440F797Af3cf2a08fd120b4e94", + "logoURI": "https://res.cloudinary.com/duv0g402y/raw/upload/src/assets/Provalidator.jpg", + "name": "Provalidator", + "description": "Supporting Blockchain Infrastructure", + "website": "https://provalidator.com", + "twitter": "https://x.com/Provalidator" + }, + { + "id": "0x23A3f18cFEF4625E3fBe5850E7Ac33E8F0f6E20c", + "logoURI": "https://res.cloudinary.com/duv0g402y/raw/upload/src/assets/simplystaking.png", + "name": "Simply Staking", + "description": "Simply Staking runs highly reliable infrastructure in our own datacentre in Malta, built with the aim of supporting the growth of the blockchain ecosystem", + "website": "https://simplystaking.com", + "twitter": "https://x.com/SimplyStaking" + }, + { + "id": "0xE13456C1De1E04a5F7dE5Db6757eb9239Ab9BE56", + "logoURI": "https://res.cloudinary.com/duv0g402y/raw/upload/src/assets/stakin-logo-square.png", + "name": "Stakin", + "description": "Institutional staking service providers with nearly $2bn in Assets under Delegation, and support for more than 40 blockchain networks", + "website": "https://stakin.com", + "twitter": "https://twitter.com/StakinOfficial" + }, + { + "id": "0x0c6571537D0275Dbc6C93E00f4cA19500fa9c835", + "logoURI": "https://res.cloudinary.com/duv0g402y/raw/upload/src/assets/KingSuper.png", + "name": "KingSuper", + "description": "Others Trust, We Validate ! Your Stake is Important to Us. Secure Networks while You Earn Rewards.", + "website": "https://kingsuper.org", + "twitter": "https://twitter.com/_KingSuper_" + }, + { + "id": "0xBd44230DE8a458e5355Ed390F125F11848053bDc", + "logoURI": "https://res.cloudinary.com/duv0g402y/raw/upload/src/assets/staked.png", + "name": "Staked", + "description": "Staked is the leading provider of validation technology and services.", + "website": "https://staked.us" } ] } diff --git a/src/write.js b/src/write.js index c9375068f..675de8700 100644 --- a/src/write.js +++ b/src/write.js @@ -1,3 +1,3 @@ -const buildList = require('./buildList'); +const buildList = require("./buildList"); -buildList().then(data => console.log(JSON.stringify(data, null, 2))); \ No newline at end of file +buildList().then((data) => console.log(JSON.stringify(data, null, 2))); diff --git a/yarn.lock b/yarn.lock index 18f37f534..e46e9a713 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2505,6 +2505,11 @@ prettier@^3.0.1: resolved "https://registry.yarnpkg.com/prettier/-/prettier-3.2.5.tgz#e52bc3090586e824964a8813b09aba6233b28368" integrity sha512-3/GWa9aOC0YeD7LUfvOG2NiDyhOWRvt1k+rcKhOuYnMY24iiCphgneUfJDyFXd6rZCAnuLBv6UeAULtrhT/F4A== +prettier@^3.3.1: + version "3.3.1" + resolved "https://registry.yarnpkg.com/prettier/-/prettier-3.3.1.tgz#e68935518dd90bb7ec4821ba970e68f8de16e1ac" + integrity sha512-7CAwy5dRsxs8PHXT3twixW9/OEll8MLE0VRPCJyl7CkS6VHGPSlsVaWTiASPTyGyYRyApxlaWTzwUxVNrhcwDg== + process@^0.11.10: version "0.11.10" resolved "https://registry.yarnpkg.com/process/-/process-0.11.10.tgz#7332300e840161bda3e69a1d1d91a7d4bc16f182"