Skip to content

Commit

Permalink
Merge pull request #41 from TalismanSociety/feat/neuroweb-testnet
Browse files Browse the repository at this point in the history
[FEAT] - NeuroWeb testnet
  • Loading branch information
chrisling-dev authored May 8, 2024
2 parents 937d9f8 + d209a42 commit ddae17c
Show file tree
Hide file tree
Showing 6 changed files with 62 additions and 28 deletions.
14 changes: 7 additions & 7 deletions .github/actions/ecr-common/action.yaml
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
name: "Docker init"
description: "Initializes Docker environment"
name: 'Docker init'
description: 'Initializes Docker environment'

inputs:
registry_root:
description: "Domain of the container registry (i.e. docker.io)"
description: 'Domain of the container registry (i.e. docker.io)'
required: true
registry_username:
description: "Username for image registry"
description: 'Username for image registry'
required: true
registry_password:
description: "Password for image registry"
description: 'Password for image registry'
required: true

runs:
using: "composite"
using: 'composite'
steps:
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
Expand All @@ -24,4 +24,4 @@ runs:
with:
registry: ${{ inputs.registry_root }}
username: ${{ inputs.registry_username }}
password: ${{ inputs.registry_password }}
password: ${{ inputs.registry_password }}
2 changes: 1 addition & 1 deletion .github/workflows/build-docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Build Docker images
on:
push:
branches:
- "main"
- 'main'

jobs:
set-tags:
Expand Down
2 changes: 2 additions & 0 deletions apps/multisig/scripts/chaingen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ const supportedChainIds = [
'avail-turing-testnet',
'dancebox',
'paseo-testnet',
'rococo-neuro-web-testnet',
'polimec',
]

Expand All @@ -61,6 +62,7 @@ const subscanUrlsOverride: Record<string, string> = {
'aleph-zero-testnet': 'https://test.azero.dev/#/explorer/',
'dancebox': 'https://dancebox.subscan.io/',
'paseo-testnet': 'https://paseo.subscan.io/',
'rococo-neuro-web-testnet': 'https://neuroweb-testnet.subscan.io/',
'avail-turing-testnet': 'https://temp-explorer.avail.so/#/explorer',
'polimec': 'https://explorer.polimec.org/polimec/',
}
Expand Down
13 changes: 13 additions & 0 deletions apps/multisig/src/domains/chains/all-tokens.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6744,6 +6744,19 @@ export const ALL_TOKENS = [
},
logo: 'https://raw.githubusercontent.com/TalismanSociety/chaindata/main/assets/tokens/unknown.svg',
},
{
id: 'rococo-neuro-web-testnet-substrate-native',
type: 'substrate-native',
isTestnet: true,
isDefault: true,
symbol: 'NEURO',
decimals: 12,
logo: 'https://raw.githubusercontent.com/TalismanSociety/chaindata/main/assets/tokens/unknown.svg',
existentialDeposit: '1000000000000', // 10**12 Planck
chain: {
id: 'rococo-neuro-web-testnet',
},
},
]

export const ALL_TOKENS_BY_ID = ALL_TOKENS.reduce((a, b) => {
Expand Down
19 changes: 19 additions & 0 deletions apps/multisig/src/domains/chains/generated-chains.ts
Original file line number Diff line number Diff line change
Expand Up @@ -620,6 +620,25 @@ export const supportedChains: Chain[] = [
ss58Prefix: 42,
subscanUrl: 'https://paseo.subscan.io/',
},
{
chainName: 'NeuroWeb Testnet',
genesisHash: '0xf2b8faefcf9c370872d0b4d2eee31d46b4de4a8688153d23d82a39e2d6bc8bbc',
isTestnet: true,
logo: 'https://raw.githubusercontent.com/TalismanSociety/chaindata/main/assets/chains/unknown.svg',
nativeToken: {
id: 'rococo-neuro-web-testnet-substrate-native',
},
rpcs: [
{
url: 'wss://parachain-testnet-rpc.origin-trail.network/',
},
],
squidIds: {
chainData: 'rococo-neuro-web-testnet',
},
ss58Prefix: 101,
subscanUrl: 'https://neuroweb-testnet.subscan.io/',
},
{
chainName: 'Polimec',
genesisHash: '0x7eb9354488318e7549c722669dcbdcdc526f1fef1420e7944667212f3601fdbd',
Expand Down
40 changes: 20 additions & 20 deletions apps/multisig/vercel.json
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
{
"headers": [
{
"source": "/(.*)",
"headers": [
{
"key": "X-Content-Type-Options",
"value": "nosniff"
},
{
"key": "X-Frame-Options",
"value": "DENY"
},
{
"key": "X-XSS-Protection",
"value": "1; mode=block"
}
]
}
]
}
"headers": [
{
"source": "/(.*)",
"headers": [
{
"key": "X-Content-Type-Options",
"value": "nosniff"
},
{
"key": "X-Frame-Options",
"value": "DENY"
},
{
"key": "X-XSS-Protection",
"value": "1; mode=block"
}
]
}
]
}

0 comments on commit ddae17c

Please sign in to comment.