hyperweb-io / hyperweb-io/ts-codegen

[react] context generation for contract client instances

オープン
#77 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
TypeScript
スター
126
フォーク
31
平均マージ
19分
マージ済み PR(30日)
2

説明

We need some helpers to create contexts/providers for the client instances.

A good example of the client here:
https://github.com/EquilibriumEtf/frontend/blob/53e24aa7992bdaad85ec2a7c02a2e604a2d40897/client/core/index.ts#L27
https://gist.github.com/pyramation/05cebb95208accbcc76fbbe273211167

example of provider here:
https://github.com/EquilibriumEtf/frontend/blob/53e24aa7992bdaad85ec2a7c02a2e604a2d40897/client/react/client/EquilibriumProvider.tsx#L8
https://gist.github.com/pyramation/9db71d59e66694160d1194d291355c04

With a few changes:

- [ ] instead of all instances in one massive context, potentially have context for each client
- [ ] instead of wallet data, potentially just use `address: string` or whatever data is required

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

Start by reviewing the linked client example at client/core/index.ts and the provider example at client/react/client/EquilibriumProvider.tsx, along with the two gists. Determine the intended context and provider API for each client instance, then confirm that the implementation supports the requested client-specific contexts and required address or wallet data.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
react, typescript
領域
frontend
issue の種類
機能追加
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
28/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。