FuelLabs/fuels-ts

Add `TestCoin` helper class

開放

#3,445 建立於 2024年12月4日

 (5 則留言) (0 個反應) (0 位負責人)TypeScript (1,370 個分叉)batch import
featgood first issue

倉庫指標

星標
 (43,186 顆星)
PR 合併指標
 (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);

貢獻者指南