Skip to content

Commit

Permalink
Adds paseo UI (#1276)
Browse files Browse the repository at this point in the history
* adds paseo UI

* remove muse and bump versions

* remove muse and bump versions

* remove veth token

* paseo things

* fix subscan urls

* revert version

* fix versions
  • Loading branch information
claravanstaden authored Sep 27, 2024
1 parent 17afdaf commit c7421bd
Show file tree
Hide file tree
Showing 5 changed files with 98 additions and 3 deletions.
2 changes: 1 addition & 1 deletion web/packages/api/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@snowbridge/api",
"version": "0.1.19",
"version": "0.1.20",
"description": "Snowbridge API client",
"license": "Apache-2.0",
"repository": {
Expand Down
93 changes: 93 additions & 0 deletions web/packages/api/src/environment.ts
Original file line number Diff line number Diff line change
Expand Up @@ -306,6 +306,99 @@ export const SNOWBRIDGE_ENV: { [id: string]: SnowbridgeEnvironment } = {
},
},
},
paseo_sepolia: {
name: "paseo_sepolia",
ethChainId: 11155111,
locations: [
{
id: "ethereum",
name: "Ethereum",
type: "ethereum",
destinationIds: ["assethub"],
erc20tokensReceivable: [
{
id: "WETH",
address: "0xfff9976782d46cc05630d1f6ebab18b2324d6b14",
minimumTransferAmount: 15_000_000_000_000n,
}
],
},
{
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,
}
],
}
],
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://bridge-hub-paseo.dotters.network",
PARACHAINS: [],
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.api.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
2 changes: 1 addition & 1 deletion web/packages/contract-types/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@snowbridge/contract-types",
"version": "0.1.19",
"version": "0.1.20",
"description": "Snowbridge contract type bindings",
"license": "Apache-2.0",
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion web/packages/contracts/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@snowbridge/contracts",
"version": "0.1.19",
"version": "0.1.20",
"description": "Snowbridge contract source and abi.",
"license": "Apache-2.0",
"repository": {
Expand Down
2 changes: 2 additions & 0 deletions web/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit c7421bd

Please sign in to comment.