Skip to content

chore(entropy) Add callouts for custom fee #647

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Mar 24, 2025
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
8 changes: 4 additions & 4 deletions components/EntropyDeployments.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ export const EntropyDeployments: Record<string, EntropyDeployment> = {
explorer: "https://optimistic.etherscan.io/address/$ADDRESS",
delay: "2 blocks",
gasLimit: "500K",
rpc: "https://rpc.ankr.com/optimism",
rpc: "https://optimism.llamarpc.com",
nativeCurrency: "ETH",
},
mode: {
Expand Down Expand Up @@ -216,7 +216,7 @@ export const EntropyDeployments: Record<string, EntropyDeployment> = {
rpc: "https://subnets.avax.network/orangetest/testnet/rpc",
nativeCurrency: "JUICE",
},
"sei-evm-mainnet": {
"sei-evm": {
address: "0x98046Bd286715D3B0BC227Dd7a956b83D8978603",
explorer: "https://seitrace.com/address/$ADDRESS?chain=pacific-1",
delay: "1 block",
Expand Down Expand Up @@ -306,7 +306,7 @@ export const EntropyDeployments: Record<string, EntropyDeployment> = {
rpc: "https://sepolia.b3.fun/http/",
nativeCurrency: "ETH",
},
"b3-mainnet": {
b3: {
address: "0x5744Cbf430D99456a0A8771208b674F27f8EF0Fb",
explorer: "https://explorer.b3.fun/address/$ADDRESS",
delay: "1 block",
Expand Down Expand Up @@ -351,7 +351,7 @@ export const EntropyDeployments: Record<string, EntropyDeployment> = {
rpc: "https://sanko-arb-sepolia.rpc.caldera.xyz/http",
nativeCurrency: "DMT",
},
"apechain-mainnet": {
apechain: {
address: "0x36825bf3Fbdf5a29E2d5148bfe7Dcf7B5639e320",
explorer: "https://apechain.calderaexplorer.xyz/address/$ADDRESS",
delay: "1 block",
Expand Down
12 changes: 11 additions & 1 deletion pages/entropy/current-fees.mdx
Original file line number Diff line number Diff line change
@@ -1,11 +1,16 @@
import EntropyFeeTable from "../../components/EntropyFeeTable";
import { EntropyDeployments } from "../../components/EntropyDeployments";
import { Callout } from "nextra/components";

The following tables shows the total fees payable when using the default provider.
The following tables shows the total fees payable when using the **default provider**.
Note that the fees shown below will vary over time with prevailing gas prices on each chain.

## Mainnet

<Callout emoji="⚠️">
The fees for mainnet are dynamically set. Always use the onchain method `entropy.getFee(entropyProvider){:solidity}` to get the current fee.
</Callout>

<EntropyFeeTable
deployments={Object.fromEntries(
Object.entries(EntropyDeployments).filter(
Expand All @@ -16,6 +21,11 @@ Note that the fees shown below will vary over time with prevailing gas prices on

## Testnet

<Callout type="info" emoji="ℹ️">
The fees for testnets kept deliberately low and different from the mainnet
fees.
</Callout>

<EntropyFeeTable
deployments={Object.fromEntries(
Object.entries(EntropyDeployments).filter(
Expand Down