Skip to content

Implementation of CAIP-2 for EOSIO blockchains#33

Merged
ligi merged 8 commits into
ChainAgnostic:masterfrom
sebastianmontero:master
Dec 7, 2020
Merged

Implementation of CAIP-2 for EOSIO blockchains#33
ligi merged 8 commits into
ChainAgnostic:masterfrom
sebastianmontero:master

Conversation

@sebastianmontero
Copy link
Copy Markdown
Contributor

Initial draft of the CAIP-2 for EOSIO blockchains.

Copy link
Copy Markdown
Member

@ligi ligi left a comment

Choose a reason for hiding this comment

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

Please also add your CAIP to the list in the README

Copy link
Copy Markdown
Member

@ligi ligi left a comment

Choose a reason for hiding this comment

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

LGTM

@ligi
Copy link
Copy Markdown
Member

ligi commented Dec 3, 2020

LGTM - but would love some more eye-ballz on it before the merge @pedrouid @webmaster128 @rekmarks

Comment thread CAIPs/caip-7.md Outdated
Comment thread CAIPs/caip-7.md Outdated
Copy link
Copy Markdown
Contributor

@webmaster128 webmaster128 left a comment

Choose a reason for hiding this comment

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

@webmaster128
Copy link
Copy Markdown
Contributor

webmaster128 commented Dec 3, 2020

The alternative to prefixes is to use a different encoding for the 32 bytes. CAIP-2 is case-sensitive and you need 32/47 = 68% efficiency. So candidates are Base58 or Base62 (no idea how this encoding works but promising in theory).

However, I think it is easier for human consumption to use a prefix of the default encoding than to re-encode it.

sebastianmontero and others added 3 commits December 3, 2020 16:25
Co-authored-by: Simon Warta <2603011+webmaster128@users.noreply.github.com>
Co-authored-by: Simon Warta <2603011+webmaster128@users.noreply.github.com>
@sebastianmontero
Copy link
Copy Markdown
Contributor Author

I've updated the reference definition, to use a 32 character prefix of the Chain ID

Copy link
Copy Markdown
Contributor

@webmaster128 webmaster128 left a comment

Choose a reason for hiding this comment

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

Some wording 💅 but otherwise 👍

Comment thread CAIPs/caip-7.md Outdated
Co-authored-by: Simon Warta <2603011+webmaster128@users.noreply.github.com>
Copy link
Copy Markdown
Contributor

@webmaster128 webmaster128 left a comment

Choose a reason for hiding this comment

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

Cool and welcome

@sebastianmontero
Copy link
Copy Markdown
Contributor Author

Great! Thanks!

@webmaster128
Copy link
Copy Markdown
Contributor

@ligi can we merge this? I don't have permissions to do so.

@ligi ligi merged commit 076138e into ChainAgnostic:master Dec 7, 2020
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.

3 participants