Skip to content

Commit

Permalink
Merge pull request #185 from autonomys/feat/add-taurus-auto-evm-domain
Browse files Browse the repository at this point in the history
Add auto-evm taurus and change domain name
  • Loading branch information
marc-aurele-besner authored Nov 28, 2024
2 parents ce9cae2 + 1222b43 commit c8c3319
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 11 deletions.
10 changes: 5 additions & 5 deletions packages/auto-utils/src/constants/domain.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@ import { Domains } from '../types/domain'

export enum DomainRuntime {
AUTO_ID = 'auto-id',
NOVA = 'nova',
AUTO_EVM = 'auto-evm',
}

export const domains: Domains = {
[DomainRuntime.AUTO_ID]: {
runtime: DomainRuntime.NOVA,
name: 'Nova (EVM)',
[DomainRuntime.AUTO_EVM]: {
runtime: DomainRuntime.AUTO_EVM,
name: 'Auto-EVM',
},
[DomainRuntime.NOVA]: {
[DomainRuntime.AUTO_ID]: {
runtime: DomainRuntime.AUTO_ID,
name: 'Auto-ID',
},
Expand Down
24 changes: 18 additions & 6 deletions packages/auto-utils/src/constants/network.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,19 @@ export const networks: Network[] = [
url: ASTRAL_EXPLORER + 'taurus/consensus/',
},
],
domains: [],
domains: [
{
domainId: '0',
...domains[DomainRuntime.AUTO_EVM],
rpcUrls: [
'wss://auto-evm.taurus.subspace.network/ws',
'wss://auto-evm-0.taurus.subspace.network/ws',
'wss://auto-evm-1.taurus.subspace.network/ws',
'wss://auto-evm-0.taurus.autonomys.xyz/ws',
'wss://auto-evm-1.taurus.autonomys.xyz/ws',
],
},
],
token: TESTNET_TOKEN,
isTestnet: true,
},
Expand All @@ -83,7 +95,7 @@ export const networks: Network[] = [
domains: [
{
domainId: '0',
...domains[DomainRuntime.NOVA],
...domains[DomainRuntime.AUTO_EVM],
rpcUrls: ['wss://nova-0.gemini-3h.subspace.network/ws'],
},
{
Expand All @@ -108,7 +120,7 @@ export const networks: Network[] = [
domains: [
{
domainId: '0',
...domains[DomainRuntime.NOVA],
...domains[DomainRuntime.AUTO_EVM],
rpcUrls: ['wss:///nova.devnet.subspace.network/ws'],
},
{
Expand All @@ -134,13 +146,13 @@ export const networks: Network[] = [
domains: [
{
domainId: '0',
...domains[DomainRuntime.NOVA],
rpcUrls: ['ws:///127.0.0.1:9946/ws'],
...domains[DomainRuntime.AUTO_EVM],
rpcUrls: ['ws://127.0.0.1:9945/ws'],
},
{
domainId: '1',
...domains[DomainRuntime.AUTO_ID],
rpcUrls: ['ws://127.0.0.1:9945/ws'],
rpcUrls: ['ws://127.0.0.1:9946/ws'],
},
],
token: TESTNET_TOKEN,
Expand Down

0 comments on commit c8c3319

Please sign in to comment.