Skip to content
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

Adds paseo UI #1276

Merged
merged 11 commits into from
Sep 27, 2024
134 changes: 134 additions & 0 deletions web/packages/api/src/environment.ts
Original file line number Diff line number Diff line change
Expand Up @@ -306,6 +306,140 @@ export const SNOWBRIDGE_ENV: { [id: string]: SnowbridgeEnvironment } = {
},
},
},
paseo_sepolia: {
name: "paseo_sepolia",
ethChainId: 11155111,
locations: [
{
id: "ethereum",
name: "Ethereum",
type: "ethereum",
destinationIds: ["assethub", "muse"],
claravanstaden marked this conversation as resolved.
Show resolved Hide resolved
erc20tokensReceivable: [
{
id: "WETH",
address: "0xfff9976782d46cc05630d1f6ebab18b2324d6b14",
minimumTransferAmount: 15_000_000_000_000n,
},
{
id: "vETH",
address: "0xc3d088842dcf02c13699f936bb83dfbbc6f721ab",
minimumTransferAmount: 1n,
},
{
id: "MUSE",
address: "0xb34a6924a02100ba6ef12af1c798285e8f7a16ee",
minimumTransferAmount: 1n,
},
],
claravanstaden marked this conversation as resolved.
Show resolved Hide resolved
},
{
id: "assethub",
name: "Asset Hub",
type: "substrate",
destinationIds: ["ethereum"],
paraInfo: {
paraId: 1000,
destinationFeeDOT: 0n,
skipExistentialDepositCheck: false,
addressType: "32byte",
decimals: 10,
maxConsumers: 16,
},
erc20tokensReceivable: [
{
id: "WETH",
address: "0xfff9976782d46cc05630d1f6ebab18b2324d6b14",
minimumTransferAmount: 15_000_000_000_000n,
},
{
id: "vETH",
address: "0xc3d088842dcf02c13699f936bb83dfbbc6f721ab",
minimumTransferAmount: 1n,
},
{
id: "MUSE",
address: "0xb34a6924a02100ba6ef12af1c798285e8f7a16ee",
minimumTransferAmount: 1n,
},
],
claravanstaden marked this conversation as resolved.
Show resolved Hide resolved
},
{
id: "muse",
name: "Muse",
type: "substrate",
destinationIds: [],
paraInfo: {
paraId: 3369,
destinationFeeDOT: 200_000_000_000n,
skipExistentialDepositCheck: true,
addressType: "20byte",
decimals: 18,
maxConsumers: 16,
},
erc20tokensReceivable: [
{
id: "MUSE",
address: "0xb34a6924a02100ba6ef12af1c798285e8f7a16ee",
minimumTransferAmount: 10_000_000_000_000_000n,
},
],
},
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Delete this whole parachain.

],
config: {
BEACON_HTTP_API: "https://lodestar-sepolia.chainsafe.io",
ETHEREUM_API: (key) => `https://eth-sepolia.g.alchemy.com/v2/${key}`,
RELAY_CHAIN_URL: "wss://paseo-rpc.dwellir.com",
ASSET_HUB_URL: "wss://asset-hub-paseo-rpc.dwellir.com",
BRIDGE_HUB_URL: "wss://sys.ibp.network/bridge-hub-paseo",
PARACHAINS: ["https://paseo-muse-rpc.polkadot.io"],
GATEWAY_CONTRACT: "0x5a84b15B618beEE6F6285F6bd2bA20a08673e473",
BEEFY_CONTRACT: "0xE7388f953f50d377D131350490156dB649E5DC10",
ASSET_HUB_PARAID: 1000,
BRIDGE_HUB_PARAID: 1002,
PRIMARY_GOVERNANCE_CHANNEL_ID:
"0x0000000000000000000000000000000000000000000000000000000000000001",
SECONDARY_GOVERNANCE_CHANNEL_ID:
"0x0000000000000000000000000000000000000000000000000000000000000002",
RELAYERS: [
{
name: "beacon",
account: "5E4Hf7LzHE4W3jabjLWSP8p8RzEa9ednwRivFEwYAprzpgwc",
type: "substrate",
},
{
name: "beefy",
account: "0xc189De708158e75E5C88C0ABfA5F9a26C71F54D1",
type: "ethereum",
},
{
name: "parachain-primary-gov",
account: "0x4BBa8c0e87242897521Ba598d327bE8280032609",
type: "ethereum",
},
{
name: "parachain-secondary-gov",
account: "0x4BBa8c0e87242897521Ba598d327bE8280032609",
type: "ethereum",
},
{
name: "execution-assethub",
account: "5HT2ysqEg6SXghQ3NGXp1VWT22hhj48Um8UAwk6Udg8ZCEv8",
type: "substrate",
},
{
name: "parachain-assethub",
account: "0x4BBa8c0e87242897521Ba598d327bE8280032609",
type: "ethereum",
},
],
SUBSCAN_API: {
RELAY_CHAIN_URL: "https://paseo.subscan.io/",
ASSET_HUB_URL: "https://assethub-paseo.api.subscan.io",
BRIDGE_HUB_URL: "https://bridgehub-paseo.api.subscan.io",
},
},
},
polkadot_mainnet: {
name: "polkadot_mainnet",
ethChainId: 1,
Expand Down