Skip to content

delegationの流れ #1

@Dragon-taro

Description

@Dragon-taro

流れ

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?周りのエンコード・デコードがちょっとだるそう?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions