FuelLabs/fuels-ts

Add `TestCoin` helper class

Ouverte

#3 445 ouverte le 4 déc. 2024

 (5 commentaires) (0 réaction) (0 personne assignée)TypeScript (1 370 forks)batch import
featgood first issue

Métriques du dépôt

Stars
 (43 186 étoiles)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

Description

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);

Guide contributeur