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

delegationの流れ #1

Open
Dragon-taro opened this issue Mar 22, 2020 · 0 comments
Open

delegationの流れ #1

Dragon-taro opened this issue Mar 22, 2020 · 0 comments

Comments

@Dragon-taro
Copy link
Contributor

流れ

Msgの作成

cosmos-clientを使ってmsgを作成
https://github.com/lcnem/cosmos-client-ts/blob/master/src/x/staking/types/msg-delegate.ts

署名

@luniehq/cosmos-ledgerを使ってledger上で署名

broadcast(サーバー側)

cosmos-clientをbroadcast
https://github.com/lcnem/cosmos-client-ts/blob/master/src/x/auth/module.ts#L75-L82

cosmos-clientを採用した理由

@luniehq/cosmos-apiがts対応してないから

懸念点

amino?周りのエンコード・デコードがちょっとだるそう?

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

No branches or pull requests

1 participant