Skip to content

Commit

Permalink
Add Injective assets (trustwallet#27191)
Browse files Browse the repository at this point in the history
* Create logo .png

* Create logo.png

* Create info.json

* Create logo.png

* Create info.json

* Create info.json

* Create logo.png

* Create info.json

* Create logo.png

* Create info.json

* Update info.json

* Update info.json

* Update info.json

* Update info.json

* Update info.json

* Create logo.png

* Delete logo .png

* tokens

* tokens

* tokens

* tokens

* tokens

* tokens

---------

Co-authored-by: Denis <[email protected]>
  • Loading branch information
cryptomanz1 and defisaur authored Jan 12, 2024
1 parent ca2a019 commit 5dacd70
Show file tree
Hide file tree
Showing 26 changed files with 976 additions and 73 deletions.
50 changes: 26 additions & 24 deletions .github/workflows/fix-dryrun.yml
Original file line number Diff line number Diff line change
@@ -1,25 +1,27 @@
name: Fix (Dry run)
on:
pull_request:
branches: [ master ]
#Disabled, we have 'check' job, 'fix' job do invisible changes which is not convenient to debug

jobs:
fix-dryrun:
runs-on: ubuntu-latest
steps:
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: 1.18

- name: Check out code
uses: actions/checkout@v3

- name: Run fix
run: make fix

- name: Show fix result (diff)
run: |
git config core.ignorecase false
git status
git diff
#name: Fix (Dry run)
#on:
# pull_request:
# branches: [ master ]
#
#jobs:
# fix-dryrun:
# runs-on: ubuntu-latest
# steps:
# - name: Set up Go
# uses: actions/setup-go@v4
# with:
# go-version: 1.18
#
# - name: Check out code
# uses: actions/checkout@v3
#
# - name: Run fix
# run: make fix
#
# - name: Show fix result (diff)
# run: |
# git config core.ignorecase false
# git status
# git diff
94 changes: 48 additions & 46 deletions .github/workflows/fix.yml
Original file line number Diff line number Diff line change
@@ -1,46 +1,48 @@
name: Fix All

on:
push:
branches:
- '*'
workflow_dispatch:

jobs:
fix-all:
runs-on: ubuntu-latest

if: github.repository_owner == 'trustwallet' && github.event.repository.fork == false

steps:
- name: Checkout (trustwallet repo, secret token)
uses: actions/checkout@v3
with:
# Use trust-ci fine-grained PAT to checkout and later commit the code
# Do not use for forked repos
token: ${{ secrets.CI_GITHUB_TOKEN }}
ref: ${{ github.ref }}

- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: 1.18

- name: Run fix
run: make fix

- name: Show fix result (diff)
run: |
git status
git diff
- name: Run check
run: make check

- name: Commit changes
if: success()
uses: stefanzweifel/[email protected]
with:
commit_user_name: trust-ci
commit_user_email: "[email protected]"
commit_message: Auto fix all (sanity and consistency)
#Disabled, we have 'check' job, 'fix' job do invisible changes which is not convenient to debug

#name: Fix All
#
#on:
# push:
# branches:
# - '*'
# workflow_dispatch:
#
#jobs:
# fix-all:
# runs-on: ubuntu-latest
#
# if: github.repository_owner == 'trustwallet' && github.event.repository.fork == false
#
# steps:
# - name: Checkout (trustwallet repo, secret token)
# uses: actions/checkout@v3
# with:
# # Use trust-ci fine-grained PAT to checkout and later commit the code
# # Do not use for forked repos
# token: ${{ secrets.CI_GITHUB_TOKEN }}
# ref: ${{ github.ref }}
#
# - name: Set up Go
# uses: actions/setup-go@v4
# with:
# go-version: 1.18
#
# - name: Run fix
# run: make fix
#
# - name: Show fix result (diff)
# run: |
# git status
# git diff
#
# - name: Run check
# run: make check
#
# - name: Commit changes
# if: success()
# uses: stefanzweifel/[email protected]
# with:
# commit_user_name: trust-ci
# commit_user_email: "[email protected]"
# commit_message: Auto fix all (sanity and consistency)
1 change: 0 additions & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,6 @@ linters:
- deadcode
- depguard
- dogsled
- dupl
- errcheck
- exportloopref
- exhaustive
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"name": "Arbitrum",
"type": "INJECTIVE",
"symbol": "ARB",
"decimals": 8,
"website": "https://arbitrum.foundation/",
"description": "$ARB tokens can be used to vote on Arbitrum DAO governance proposals, allowing $ARB holders to collectively shape the future of Arbitrum protocols and chains. Token holders can also delegate their voting power to delegates.",
"explorer": "https://explorer.injective.network/asset/?tokenType=tokenFactory&denom=factory/inj14ejqjyq8um4p3xfqj74yld5waqljf88f9eneuk/inj1d5vz0uzwlpfvgwrwulxg6syy82axa58y4fuszd",
"status": "active",
"id": "inj1d5vz0uzwlpfvgwrwulxg6syy82axa58y4fuszd",
"links": [
{
"name": "twitter",
"url": "https://twitter.com/arbitrum"
},
{
"name": "whitepaper",
"url": "https://docs.arbitrum.foundation/deployment-addresses"
},
{
"name": "discord",
"url": "https://discord.com/arbitrum"
},
{
"name": "coinmarketcap",
"url": "https://coinmarketcap.com/ru/currencies/arbitrum-iou/"
}
]
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"name": "Talis",
"website": "https://injective.talis.art",
"description": "In the dynamic landscape of NFTs and cryptocurrency, platforms that offer innovative solutions and tools play a crucial role in shaping the ecosystem.",
"explorer": "https://explorer.injective.network/asset/?tokenType=tokenFactory&denom=factory/inj1maeyvxfamtn8lfyxpjca8kuvauuf2qeu6gtxm3/Talis",
"type": "INJECTIVE",
"symbol": "TALIS",
"decimals": 6,
"status": "active",
"id": "inj1maeyvxfamtn8lfyxpjca8kuvauuf2qeu6gtxm3",
"links": [
{
"name": "twitter",
"url": "https://twitter.com/ProtocolTalis"
},
{
"name": "telegram",
"url": "https://t.me/talisprotocol"
}
]
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
{
"name": "Chiliz",
"website": "https://chiliz.com",
"description": "Chiliz, powering Socios.com, aims to give sports and esports fans the ability to crowd-manage their favorite teams, games, leagues, and events.",
"explorer": "https://explorer.injective.network/asset/?tokenType=tokenFactory&denom=factory/inj14ejqjyq8um4p3xfqj74yld5waqljf88f9eneuk/inj1q6kpxy6ar5lkxqudjvryarrrttmakwsvzkvcyh",
"type": "INJECTIVE",
"symbol": "CHZ",
"decimals": 8,
"status": "active",
"id": "inj1q6kpxy6ar5lkxqudjvryarrrttmakwsvzkvcyh",
"tags": [
"nft"
],
"links": [
{
"name": "telegram",
"url": "https://t.me/chiliz_io"
},
{
"name": "twitter",
"url": "https://twitter.com/chiliZ/"
},
{
"name": "facebook",
"url": "https://facebook.com/chiliZdotcom/"
},
{
"name": "blog",
"url": "https://medium.com/chiliz"
},
{
"name": "whitepaper",
"url": "https://chiliz.com/docs/CHZ_whitepaper.pdf"
},
{
"name": "coingecko",
"url": "https://coingecko.com/en/coins/chiliz/"
}
]
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{
"name": "USD Coin",
"website": "https://centre.io/usdc",
"description": "USDC is a fully collateralized US dollar stablecoin, an Ethereum powered coin and is the brainchild of CENTRE, an open source project bootstrapped by contributions from Circle and Coinbase.",
"explorer": "https://explorer.injective.network/asset/?tokenType=tokenFactory&denom=factory/inj14ejqjyq8um4p3xfqj74yld5waqljf88f9eneuk/inj1q6zlut7gtkzknkk773jecujwsdkgq882akqksk",
"type": "INJECTIVE",
"symbol": "USDCET",
"decimals": 6,
"status": "active",
"id": "inj1q6zlut7gtkzknkk773jecujwsdkgq882akqksk",
"tags": [
"defi",
"stablecoin"
],
"links": [
{
"name": "github",
"url": "https://github.com/centrehq"
},
{
"name": "medium",
"url": "https://medium.com/centre-blog"
},
{
"name": "whitepaper",
"url": "https://centre.io/pdfs/centre-whitepaper.pdf"
},
{
"name": "coinmarketcap",
"url": "https://coinmarketcap.com/currencies/usd-coin/"
},
{
"name": "coingecko",
"url": "https://coingecko.com/en/coins/usd-coin/"
}
]
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"name": "Solana",
"website": "https://solana.com/",
"description": "Solana is the worlds most performant blockchain in the world at 710k transactions per second. 710k TPS is achieved by encoding the passage of time as data.",
"explorer": "https://explorer.injective.network/asset/?tokenType=tokenFactory&denom=factory/inj14ejqjyq8um4p3xfqj74yld5waqljf88f9eneuk/inj1sthrn5ep8ls5vzz8f9gp89khhmedahhdkqa8z3",
"symbol": "SOL",
"type": "INJECTIVE",
"decimals": 8,
"status": "active",
"id": "inj1sthrn5ep8ls5vzz8f9gp89khhmedahhdkqa8z3",
"tags": [
"staking-native"
],
"links": [
{
"name": "github",
"url": "https://github.com/solana-labs"
},
{
"name": "twitter",
"url": "https://twitter.com/solana"
},
{
"name": "reddit",
"url": "https://reddit.com/solana"
},
{
"name": "whitepaper",
"url": "https://github.com/solana-labs/whitepaper"
}
]
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ require (
github.com/spf13/cobra v1.7.0
github.com/trustwallet/assets-go-libs v0.3.7
github.com/trustwallet/go-libs v0.7.3
github.com/trustwallet/go-primitives v0.1.16
github.com/trustwallet/go-primitives v0.1.17
)

require (
Expand Down
8 changes: 8 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -264,6 +264,14 @@ github.com/trustwallet/go-primitives v0.1.16-0.20240109124104-7cbe07e453d4 h1:sY
github.com/trustwallet/go-primitives v0.1.16-0.20240109124104-7cbe07e453d4/go.mod h1:GN9WNIOvtz9j77FSYLEqC7apbMlzQnFLNO9LOCMy5Mc=
github.com/trustwallet/go-primitives v0.1.16 h1:vpHVXlAYYK0o7GpWYadbauY+H4GOJ0bKVp/k6gZbH6I=
github.com/trustwallet/go-primitives v0.1.16/go.mod h1:GN9WNIOvtz9j77FSYLEqC7apbMlzQnFLNO9LOCMy5Mc=
github.com/trustwallet/go-primitives v0.1.17-0.20240112104809-d94379365003 h1:0XkIncqfu2hBCkkhMrVw7hx/lraoyZ+G1BENh+CFtVA=
github.com/trustwallet/go-primitives v0.1.17-0.20240112104809-d94379365003/go.mod h1:GN9WNIOvtz9j77FSYLEqC7apbMlzQnFLNO9LOCMy5Mc=
github.com/trustwallet/go-primitives v0.1.17-0.20240112110133-ea920360531b h1:akbAfXaD987dDl5nbQbCiBSRP65pIWZdg9SNqY/pkfY=
github.com/trustwallet/go-primitives v0.1.17-0.20240112110133-ea920360531b/go.mod h1:GN9WNIOvtz9j77FSYLEqC7apbMlzQnFLNO9LOCMy5Mc=
github.com/trustwallet/go-primitives v0.1.17-0.20240112111413-aca39bd29cc2 h1:3tt6/BPEtZWpQlagvqEoGz9Z53Jx0vrU+uPtxT/lCWg=
github.com/trustwallet/go-primitives v0.1.17-0.20240112111413-aca39bd29cc2/go.mod h1:GN9WNIOvtz9j77FSYLEqC7apbMlzQnFLNO9LOCMy5Mc=
github.com/trustwallet/go-primitives v0.1.17 h1:X0vVRbJZoDcrQJTQ2vi5gubPfXEn43M9mpxkfRg/Fok=
github.com/trustwallet/go-primitives v0.1.17/go.mod h1:GN9WNIOvtz9j77FSYLEqC7apbMlzQnFLNO9LOCMy5Mc=
github.com/ugorji/go/codec v1.1.7 h1:2SvQaVZ1ouYrrKKwoSk2pzd4A9evlKJb9oTL+OaLUSs=
github.com/yuin/goldmark v1.1.25/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
Expand Down
Loading

0 comments on commit 5dacd70

Please sign in to comment.