We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e1e0ee0 + 7a1a023 commit 7befc20Copy full SHA for 7befc20
1 file changed
modules/statics/src/coins/generateERC20.ts
@@ -1,6 +1,6 @@
1
import { erc20, erc20Token, terc20 } from '../account';
2
import { BaseCoin, CoinFeature, UnderlyingAsset } from '../base';
3
-import { AccountNetwork, EthereumNetwork } from '../networks';
+import { AccountNetwork, EthereumNetwork, Networks } from '../networks';
4
import { ofcerc20, tofcerc20 } from '../ofc';
5
6
// --- Shared config interfaces ---
@@ -89,7 +89,7 @@ export function generateTestErc20Coin(config: Erc20CoinConfig): Readonly<BaseCoi
89
config.features,
90
config.prefix,
91
config.suffix,
92
- config.network
+ config.network ?? Networks.test.hoodi //default testnet eth network for new tokens
93
);
94
95
if (config.skipOfc) return [onChain];
0 commit comments