-
Notifications
You must be signed in to change notification settings - Fork 70
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🚀 Validator dashboard release
3.0.0
(#4783)
- Loading branch information
Showing
86 changed files
with
3,459 additions
and
1,455 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
import { encodeAddress as encode } from '@polkadot/util-crypto' | ||
|
||
const JOYSTREAM_SS58_PREFIX = 126 | ||
import { CHAIN_PROPERTIES } from '@/app/constants/chain' | ||
|
||
export const encodeAddress = (key: Parameters<typeof encode>[0]) => encode(key, JOYSTREAM_SS58_PREFIX) | ||
export const encodeAddress = (key: Parameters<typeof encode>[0]) => encode(key, CHAIN_PROPERTIES.ss58Format) |
Oops, something went wrong.