Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions modules/bitgo/test/v2/unit/keychains.ts
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ describe('V2 Keychains', function () {
n.asset !== UnderlyingAsset.BASEETH &&
n.asset !== UnderlyingAsset.SOMI &&
n.asset !== UnderlyingAsset.FLRP &&
n.asset !== UnderlyingAsset.FLUENTETH &&
coinFamilyValues.includes(n.name)
);

Expand Down
6 changes: 6 additions & 0 deletions modules/sdk-core/src/bitgo/environments.ts
Original file line number Diff line number Diff line change
Expand Up @@ -272,6 +272,9 @@ const mainnetBase: EnvironmentTemplate = {
hedera: {
baseUrl: 'https://server-verify.hashscan.io/verify',
},
fluenteth: {
baseUrl: 'https://testnet.fluentscan.xyz/api/', //TODO: COIN-6478: add mainnet url when available
},
},
icpNodeUrl: 'https://ic0.app',
worldExplorerBaseUrl: 'https://worldscan.org/',
Expand Down Expand Up @@ -412,6 +415,9 @@ const testnetBase: EnvironmentTemplate = {
hedera: {
baseUrl: 'https://server-verify.hashscan.io/verify',
},
fluenteth: {
baseUrl: 'https://testnet.fluentscan.xyz/api/',
},
},
stxNodeUrl: 'https://api.testnet.hiro.so',
vetNodeUrl: 'https://sync-testnet.vechain.org',
Expand Down
38 changes: 38 additions & 0 deletions modules/statics/src/allCoinsAndTokens.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2163,6 +2163,44 @@ export const allCoinsAndTokens = [
CoinFeature.EVM_UNSIGNED_SWEEP_RECOVERY,
]
),
account(
'8f6ed7e4-cce2-4686-bdab-ae8f54e2c05e',
'tfluenteth',
'Testnet Fluent Ethereum',
Networks.test.fluenteth,
18,
UnderlyingAsset.FLUENTETH,
BaseUnit.ETH,
[
...EVM_FEATURES,
CoinFeature.SHARED_EVM_SDK,
CoinFeature.SHARED_EVM_SIGNING,
CoinFeature.EVM_COMPATIBLE_IMS,
CoinFeature.EVM_COMPATIBLE_UI,
],
KeyCurve.Secp256k1,
'',
'TFluentETH'
),
account(
'a7c813b4-1cd2-4a36-a807-78150d64fba4',
'fluenteth',
'Fluent Ethereum',
Networks.main.fluenteth,
18,
UnderlyingAsset.FLUENTETH,
BaseUnit.ETH,
[
...EVM_FEATURES,
CoinFeature.SHARED_EVM_SDK,
CoinFeature.SHARED_EVM_SIGNING,
CoinFeature.EVM_COMPATIBLE_IMS,
CoinFeature.EVM_COMPATIBLE_UI,
],
KeyCurve.Secp256k1,
'',
'FluentETH'
),
canton(
'07385320-5a4f-48e9-97a5-86d4be9f24b0',
'canton',
Expand Down
2 changes: 2 additions & 0 deletions modules/statics/src/base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ export enum CoinFamily {
LINEAETH = 'lineaeth',
IP = 'ip', // Story Chain
SOMI = 'somi', // Somnia Chain
FLUENTETH = 'fluenteth',
}

/**
Expand Down Expand Up @@ -544,6 +545,7 @@ export enum UnderlyingAsset {
FLOW = 'flow',
FLR = 'flr',
FLRP = 'flrp',
FLUENTETH = 'fluenteth',
GTC = 'gtc',
HASH = 'hash', // Provenance
HBAR = 'hbar', // Hedera main coin
Expand Down
20 changes: 20 additions & 0 deletions modules/statics/src/networks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1491,6 +1491,24 @@ class LineaETHTestnet extends Testnet implements EthereumNetwork {
nativeCoinOperationHashPrefix = '59141';
}

class FluentETH extends Mainnet implements EthereumNetwork {
name = 'Fluent Ethereum';
family = CoinFamily.FLUENTETH;
explorerUrl = 'https://devnet.fluentscan.xyz/tx/';
accountExplorerUrl = 'https://devnet.fluentscan.xyz/address/';
chainId = 20993;
nativeCoinOperationHashPrefix = '20993';
}

class FluentETHTestnet extends Testnet implements EthereumNetwork {
name = 'Testnet Fluent Ethereum';
family = CoinFamily.FLUENTETH;
explorerUrl = 'https://testnet.fluentscan.xyz/tx/';
accountExplorerUrl = 'https://testnet.fluentscan.xyz/address/';
chainId = 20994;
nativeCoinOperationHashPrefix = '20994';
}

class CreditcoinTestnet extends Testnet implements EthereumNetwork {
name = 'CreditcoinTestnet';
family = CoinFamily.CTC;
Expand Down Expand Up @@ -2075,6 +2093,7 @@ export const Networks = {
flow: Object.freeze(new Flow()),
flr: Object.freeze(new Flare()),
flrP: Object.freeze(new FlareP()),
fluenteth: Object.freeze(new FluentETH()),
hash: Object.freeze(new Hash()),
hedera: Object.freeze(new Hedera()),
hederaEVM: Object.freeze(new HederaEVM()),
Expand Down Expand Up @@ -2171,6 +2190,7 @@ export const Networks = {
flow: Object.freeze(new FlowTestnet()),
flr: Object.freeze(new FlareTestnet()),
flrP: Object.freeze(new FlarePTestnet()),
fluenteth: Object.freeze(new FluentETHTestnet()),
mon: Object.freeze(new MonadTestnet()),
megaeth: Object.freeze(new MegaETHTestnet()),
pyrmont: Object.freeze(new Pyrmont()),
Expand Down
2 changes: 2 additions & 0 deletions modules/statics/test/unit/fixtures/expectedColdFeatures.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ export const expectedColdFeatures = {
'dot',
'fetchai',
'flow',
'fluenteth',
'hash',
'hbarevm',
'icp',
Expand Down Expand Up @@ -142,6 +143,7 @@ export const expectedColdFeatures = {
'tdot',
'tfetchai',
'tflow',
'tfluenteth',
'thbarevm',
'tog',
'tmegaeth',
Expand Down