Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add BitBadges #5324

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
73 changes: 73 additions & 0 deletions bitbadges/assetlist.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
{
"$schema": "../assetlist.schema.json",
"chain_name": "bitbadges",
"assets": [
{
"description": "$BADGE is the native in-app credits token for BitBadges, a platform for creating and sharing digital badges.",
"denom_units": [
{
"denom": "ubadge",
"exponent": 0
},
{
"denom": "badge",
"exponent": 9
}
],
"base": "badge",
"name": "BitBadges Credits",
"display": "badge",
"symbol": "BADGE",
"logo_URIs": {
"png": "https://raw.githubusercontent.com/cosmos/chain-registry/master/bitbadges/images/bitbadgeslogo.png",
"svg": "https://raw.githubusercontent.com/cosmos/chain-registry/master/bitbadges/images/bitbadgeslogo.svg"
},
"coingecko_id": "",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please remove fields with empty strings

"images": [
{
"png": "https://raw.githubusercontent.com/cosmos/chain-registry/master/bitbadges/images/bitbadgeslogo.png"
},
{
"svg": "https://raw.githubusercontent.com/cosmos/chain-registry/master/bitbadges/images/bitbadgeslogo.svg"
}
],
"socials": {
"website": "https://bitbadges.io/",
"twitter": "https://twitter.com/bitbadges_io"
}
},
{
"description": "The native staking denom for the BitBadges blockchain.",
"denom_units": [
{
"denom": "ustake",
"exponent": 0
},
{
"denom": "stake",
"exponent": 9
}
],
"base": "stake",
"name": "BitBadges Staking",
"display": "stake",
"symbol": "STAKE",
"logo_URIs": {
"png": "https://raw.githubusercontent.com/cosmos/chain-registry/master/bitbadges/images/bitbadgeslogo.png",
"svg": "https://raw.githubusercontent.com/cosmos/chain-registry/master/bitbadges/images/bitbadgeslogo.svg"
},
"images": [
{
"png": "https://raw.githubusercontent.com/cosmos/chain-registry/master/bitbadges/images/bitbadgeslogo.png",
},
{
"svg": "https://raw.githubusercontent.com/cosmos/chain-registry/master/bitbadges/images/bitbadgeslogo.svg"
}
],
"socials": {
"website": "https://bitbadges.io/",
"twitter": "https://twitter.com/bitbadges_io"
}
}
]
}
114 changes: 114 additions & 0 deletions bitbadges/chain.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,114 @@
{
"$schema": "../chain.schema.json",
"chain_name": "bitbadges",
"status": "live",
"chain_type": "cosmos",
"network_type": "mainnet",
trevormil marked this conversation as resolved.
Show resolved Hide resolved
"website": "https://bitbadges.io/",
"pretty_name": "BitBadges",
"chain_id": "bitbadges-1",
"bech32_prefix": "cosmos",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The bech32 prefix is taken.... I think it's not allowed to be the same.

"daemon_name": "bitbadgeschaind",
"node_home": "$HOME/.bitbadgeschaind",
"slip44": 118,
"fees": {
"fee_tokens": [
{
"denom": "ubadge",
"fixed_min_gas_price": 0,
"low_gas_price": 0.00025,
"average_gas_price": 0.0025,
"high_gas_price": 0.025
}
]
},
"staking": {
"staking_tokens": [
{
"denom": "ustake"
}
]
},
"codebase": {
"git_repo": "https://github.com/bitbadges/bitbadgeschain/",
"recommended_version": "v1.0-mainnet",
"compatible_versions": [
"v1.0-mainnet"
],
"versions": [{
"name": "v1.0-mainnet",
"binaries": {
"linux/amd64": "https://github.com/BitBadges/bitbadgeschain/releases/download/v1.0-mainnet/bitbadgeschain-linux-amd64",
"linux/arm64": "https://github.com/BitBadges/bitbadgeschain/releases/download/v1.0-mainnet/bitbadgeschain-linux-arm64"
},
"cosmos_sdk_version": "v0.50.8",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the "sdk" and "ibc" properties are also required. They describe the same version data.

"ibc_go_version": "v8.3.2",
"consensus": {
"type": "cometbft",
"version": "github.com/cometbft/cometbft v0.38.9"
}
}],
"binaries": {
"linux/amd64": "https://github.com/BitBadges/bitbadgeschain/releases/download/v1.0-mainnet/bitbadgeschain-linux-amd64",
"linux/arm64": "https://github.com/BitBadges/bitbadgeschain/releases/download/v1.0-mainnet/bitbadgeschain-linux-arm64"
},
"cosmos_sdk_version": "v0.50.8",
"ibc_go_version": "v8.3.2",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the "sdk" and "ibc" properties are also required. They describe the same version data.

"consensus": {
"type": "cometbft",
"version": "github.com/cometbft/cometbft v0.38.9"
},
"genesis": {
"genesis_url": "https://github.com/BitBadges/bitbadgeschain/blob/master/genesis.json"
}
},
"logo_URIs": {
"png": "https://raw.githubusercontent.com/cosmos/chain-registry/master/bitbadges/images/bitbadgeslogo.png",
"svg": "https://raw.githubusercontent.com/cosmos/chain-registry/master/bitbadges/images/bitbadgeslogo.svg"
},
"description": "BitBadges is the all-in-one, multi-chain platform for building your digital identity.",
"peers": {
"seeds": [],
"persistent_peers": [
{
"id": "8d1ca31723a66b9058651220fd8da4618bc6f67c",
"address": "134.122.12.165:26656"
}
]
},
"apis": {
"rpc": [
{
"address": "http://134.122.12.165:26657",
"provider": "bitbadges"
}
],
"rest": [
{
"address": "http://134.122.12.165:1317",
"provider": "bitbadges"
}
],
"grpc": []
},
"explorers": [
{
"kind": "mintscan",
"url": "https://www.mintscan.io/bitbadges",
"tx_page": "https://www.mintscan.io/bitbadges/transactions/${txHash}",
"account_page": "https://www.mintscan.io/bitbadges/accounts/${accountAddress}"
},
{
"kind": "ping.pub",
"url": "https://explorer.bitbadges.io/BitBadges%20Mainnet",
"tx_page": "https://explorer.bitbadges.io/BitBadges%20Mainnet/txs/${txHash}",
"account_page": "https://explorer.bitbadges.io/BitBadBitBadges%20Mainnetges/account/${accountAddress}"
}
],
"images": [
{
"png": "https://raw.githubusercontent.com/cosmos/chain-registry/master/bitbadges/images/bitbadgeslogo.png",
"svg": "https://raw.githubusercontent.com/cosmos/chain-registry/master/bitbadges/images/bitbadgeslogo.svg"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the png and the svg are not visually idendical, and therefore cannot be placed inside the image object. You may have two image objects in the array.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was not resolved

Copy link
Collaborator

@JeremyParish69 JeremyParish69 Sep 19, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I recommend using the version without text, as it will not be readable >99% of the time.

}
]
}
Binary file added bitbadges/images/bitbadgeslogo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading