Skip to content

Commit

Permalink
Add Bifrost (#1271)
Browse files Browse the repository at this point in the history
* add bifrost

* up version numbers
  • Loading branch information
alistair-singh authored Aug 19, 2024
1 parent 0c84c3d commit e296462
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 4 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.18",
"version": "0.1.19",
"description": "Snowbridge API client",
"license": "Apache-2.0",
"repository": {
Expand Down
23 changes: 22 additions & 1 deletion web/packages/api/src/environment.ts
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ export const SNOWBRIDGE_ENV: { [id: string]: SnowbridgeEnvironment } = {
id: "ethereum",
name: "Ethereum",
type: "ethereum",
destinationIds: ["assethub", "mythos"],
destinationIds: ["assethub", "mythos", "bifrost"],
erc20tokensReceivable: [
{
id: "WETH",
Expand Down Expand Up @@ -455,6 +455,27 @@ export const SNOWBRIDGE_ENV: { [id: string]: SnowbridgeEnvironment } = {
},
],
},
{
id: "bifrost",
name: "Bifrost",
type: "substrate",
destinationIds: [],
paraInfo: {
paraId: 2030,
destinationFeeDOT: 20_000_000n,
skipExistentialDepositCheck: false,
addressType: "32byte",
decimals: 12,
maxConsumers: 16,
},
erc20tokensReceivable: [
{
id: "WETH",
address: "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
minimumTransferAmount: 15_000_000_000_000n,
},
],
},
],
config: {
BEACON_HTTP_API: "https://lodestar-mainnet.chainsafe.io",
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.18",
"version": "0.1.19",
"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.18",
"version": "0.1.19",
"description": "Snowbridge contract source and abi.",
"license": "Apache-2.0",
"repository": {
Expand Down

0 comments on commit e296462

Please sign in to comment.