Skip to content

Commit

Permalink
Add Ethereum mainnet staking
Browse files Browse the repository at this point in the history
  • Loading branch information
peachbits committed Oct 2, 2024
1 parent ccfa3d4 commit a818edb
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 2 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

## Unreleased

- changed: Enable Ethereum staking

## 4.15.0

- added: Add Maya Protocol
Expand Down
4 changes: 2 additions & 2 deletions src/plugins/stake-plugins/generic/pluginInfo.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { kilncardanopool } from './pluginInfo/cardanoKilnPool'
import { coreumnative } from './pluginInfo/coreumNativeStaking'
// import { kilnpool } from './pluginInfo/ethereumKilnPool'
import { kilnpool } from './pluginInfo/ethereumKilnPool'
import { glifpoolCalibration } from './pluginInfo/filecoinCalibrationGlifpool'
import { glifpool } from './pluginInfo/filecoinGlifpool'
import { tarotpool } from './pluginInfo/optimismTarotPool'

export const genericPlugins = [glifpool, glifpoolCalibration, tarotpool, coreumnative, kilncardanopool]
export const genericPlugins = [glifpool, glifpoolCalibration, tarotpool, coreumnative, kilnpool, kilncardanopool]
22 changes: 22 additions & 0 deletions src/plugins/stake-plugins/generic/pluginInfo/ethereumKilnPool.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,28 @@ const kilnPolicyConfig: Array<StakePolicyConfig<EthereumPooledKilnAdapterConfig>
hideUnstakeAndClaimAction: true,
stakeAssets: [{ pluginId: 'holesky', currencyCode: 'ETH' }],
rewardAssets: [{ pluginId: 'holesky', currencyCode: 'ETH' }]
},
{
stakePolicyId: 'ethereum_kiln',
stakeProviderInfo: {
displayName: 'Ethereum Pooled Staking (Kiln)',
pluginId: 'ethereum',
stakeProviderId: 'ethereum_pooled_kiln'
},
parentPluginId: 'ethereum',
parentCurrencyCode: 'ETH',
adapterConfig: {
exitQueueAddress: '0x8d6Fd650500f82c7D978a440348e5a9b886943bF',
type: 'ethereum-pooled-kiln',
apiKey: ENV.KILN_MAINNET_API_KEY,
baseUrl: 'https://api.kiln.fi',
contractAddress: '0xEb4d67DBa18b3bE04484dFC7B7c2780E8D32A79d',
pluginId: 'ethereum',
rpcProviderUrls: [`https://ethereum-rpc.publicnode.com`, 'https://1rpc.io/eth']
},
hideUnstakeAndClaimAction: true,
stakeAssets: [{ pluginId: 'ethereum', currencyCode: 'ETH' }],
rewardAssets: [{ pluginId: 'ethereum', currencyCode: 'ETH' }]
}
]

Expand Down

0 comments on commit a818edb

Please sign in to comment.