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

Draft
wants to merge 6 commits into
base: main
Choose a base branch
from
Draft
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
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://sys.ibp.network/bridge-hub-paseo",
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.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