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

Add BitBadges #5324

wants to merge 3 commits into from

Conversation

trevormil
Copy link

This pull requests adds support for the BitBadges blockchain which just went live.

"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.

"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.

@JeremyParish69 JeremyParish69 marked this pull request as draft September 12, 2024 15:38
@trevormil
Copy link
Author

trevormil commented Sep 12, 2024

@JeremyParish69

I resolved the previous comments made except for the bech32 Cosmos prefix one.

I actually didn't realize the unique bech32 prefix was a requirement, so I will have to work towards changing it in the next chain update. Would you want me to remove the field / leave empty and edit when updated? Keep it as "cosmos" for now? Or, should I just revisit this PR when the fix goes live?

"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

"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.

"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.

@JeremyParish69
Copy link
Collaborator

@JeremyParish69

I resolved the previous comments made except for the bech32 Cosmos prefix one.

I actually didn't realize the unique bech32 prefix was a requirement, so I will have to work towards changing it in the next chain update. Would you want me to remove the field / leave empty and edit when updated? Keep it as "cosmos" for now? Or, should I just revisit this PR when the fix goes live?

I suppose we can proceed for now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants