Skip to content

Commit

Permalink
Merge pull request #1810 from nervosnetwork/testnet
Browse files Browse the repository at this point in the history
  • Loading branch information
Keith-CY authored Nov 28, 2024
2 parents c6afac9 + a3ec914 commit faa1143
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/constants/scripts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -366,6 +366,13 @@ export const MainnetContractHashTags: ContractHashTag[] = [
hashType: 'type',
tag: 'Stable++ Pool',
},
{
codeHashes: ['0x9376c3b5811942960a846691e16e477cf43d7c7fa654067c9948dfcd09a32137'],
txHashes: ['0x715afa97fb02c2ccdddbbc320ce3e92388074a5aee07fdf0b312f0b89ea6d6b7-0'],
depType: 'code',
hashType: 'type',
tag: 'DID',
},
]

export const TestnetContractHashTags: ContractHashTag[] = [
Expand Down
10 changes: 10 additions & 0 deletions src/pages/ScriptList/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -313,6 +313,16 @@ export const scripts = new Map<string, ScriptAttributes>([
description: 'Stable++ Pool',
},
],
[
'DID',
{
name: 'DID',
description:
'DID is a blockchain-based, open source, censorship-resistant decentralized account system that provides a globally unique naming system with a .bit suffix that can be used for cryptocurrency transfers, domain name resolution, authentication, and other scenarios.',
code: 'https://github.com/dotbitHQ/did-contracts',
website: 'https://did.id/',
},
],
])

const keysWithLinkValueInScript: (keyof ScriptAttributes)[] = ['rfc', 'code', 'doc', 'deprecated', 'website']
Expand Down

0 comments on commit faa1143

Please sign in to comment.