FuelLabs/fuels-ts

Add `TestCoin` helper class

Open

#3,445 创建于 2024年12月4日

在 GitHub 查看
 (5 评论) (0 反应) (0 负责人)TypeScript (1,370 fork)batch import
featgood first issue

仓库指标

Star
 (43,186 star)
PR 合并指标
 (30 天内没有已合并 PR)

描述

Similar to the TestMessage helper class, it might be worth having one for coins as well.

We could have a static many function which could generate multiple coins.

const coins: Coin[] = TestCoin.many({
  owner: '0x09c0b2d1a486c439a87bcba6b46a7a1a23f3897cc83a94521a96da5c23bc58db'
}, 4);

贡献者指南