Skip to content

Commit

Permalink
Add netork kusama for ledger wallet and update mutilple
Browse files Browse the repository at this point in the history
  • Loading branch information
Thiendekaco committed Feb 21, 2024
1 parent 2908cc3 commit 11ce531
Show file tree
Hide file tree
Showing 15 changed files with 332 additions and 182 deletions.
2 changes: 2 additions & 0 deletions packages/common/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -424,6 +424,8 @@ export interface SubstrateProvider extends SimpleEventEmitter{
Promise< string >,
on(event: 'connect', listener: ConnectListener): void,
on(event: 'disconnect', listener: DisconnectListener): void,
on(event: 'chainChanged', listener: ChainListener): void
on(event: 'accountsChanged', listener: AccountsListener): void
on(event: 'uriChanged', listener: UriListener): void,
on(event: 'qrModalState', listener: QrModalListener): void,
disconnect() : Promise<void>,
Expand Down
3 changes: 2 additions & 1 deletion packages/core/src/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ export const APP_INITIAL_STATE: AppState = {
export const STORAGE_KEYS = {
TERMS_AGREEMENT: 'onboard.js:agreement',
LAST_CONNECTED_WALLET: 'onboard.js:last_connected_wallet',
CONNECT_HD_WALLET_MODAL : 'onboard.js:connect_hd_wallet_modal'
CONNECT_HD_WALLET_MODAL : 'onboard.js:connect_hd_wallet_modal',
GET_ONLY_CHAIN_NETWORK_LEDGER : 'onboard.js:get_only_chain_network_ledger'
}

export const MOBILE_WINDOW_WIDTH = 768
Expand Down
4 changes: 3 additions & 1 deletion packages/core/src/icons/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,11 @@ export { default as hydraxIcon } from './hydradx.js'
export { default as kusamaIcon } from './kusama.js'
export { default as phalaNetworkIcon } from './phala-network.js'
export { default as polkadotIcon } from './polkadot.js'
export { default as statemint } from './statemint.js'
export { default as statemintIcon } from './statemint.js'
export { default as turingNetworkIcon } from './turing-network.js'
export { default as westendIcon } from './westend.js'
export { default as rococoIcon } from './rococo.js'
export { default as statemineIcon } from './statemine.js'

// other
export { default as hourglass } from './hourglass.js'
Expand Down
11 changes: 11 additions & 0 deletions packages/core/src/icons/rococo.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
export default `
<svg width="100%" height="100%" viewBox="0 0 174 174" fill="none" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<rect width="174" height="174" fill="url(#pattern0)"/>
<defs>
<pattern id="pattern0" patternContentUnits="objectBoundingBox" width="1" height="1">
<use xlink:href="#image0_0_2" transform="scale(0.00574713)"/>
</pattern>
<image id="image0_0_2" width="174" height="174" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAK4AAACuCAMAAACY0sbcAAACXlBMVEVMaXHlB33gB4DlA3ziGX3kEn7kC3/lyPTFUILgMYxYZ+niBH/kA33kAX1JbuniAn7hA4AwiffkAX3dBoMaoP8an//fAoEbn//kAX1iTeEbn/8dnP5wQ9cZoP+RKMIokPq9E55WXOWmHrDMC5AdnP4aoP/nAHrgAYD////jAX7mAXrgAYEaoP/eAoTeAoLlAXziAYHcA4Qbnf/YAY7aBIcem/7MCpMgmP3QCI+zBbTGDZfdAInTB4vCD5v7+v4ilfy7BK7UAZMsh/nWBYm9Ep4pi/m4FKI0fvXJAqDRAZhCb++yGKaiG7XNApupHK4xhPY9dfCbH7ueEsJkPuJ2MNpbUORxNd2uFqxBZvHFAqWUJMAkkvtHaO3AA6mPJcZ9K9VrNN+IKcp7QMsnj/pgTOEvgPikCMFMYutGYO+EJtI5evNOVuxdReWKHs88bvP48/xXVuYlj/tYTOhKW+6rDLdkRuFnRNyXEceBLs9QXemTGspTUeqsBLtTWeh5NdOnDLxsPd9zJ9yEN8X06fmRMby2Darz+f9tQNqLMcE4c/S9C6NuSdJ8HtfqsN/12fA1ePZyO9fkwO2hJbDRqeqZKrbm8v5iVdjp0vPEPLGHsfiMW9zr4Pj0x+at1/7a6v5svf6Qy/4tpP/Xlt/Rw/OHEtKqV9J3audcYd+enO5SZePC4v6pd+Jepfrof8W7kedDrP+8TsOmO8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WlJVwQ2N1P+Q6/vJDxmfeSwQtHzUvD1EPO+7OaEqbkhauH7n78W/yqXY17AZsa0aK4yqqNF96pvLv4vTmCpdWQNxwSui9aQl+bwkccuHO847e9ly79xCYyTdykGfeJf82JDRRe+mkI8+f7+H0uW3ByJtzrB9qfDhBtPqctMAxl+s0lg7BzkGAGYPazcubPnz/f55PPpbZwUV6lzZC0Sc4z2V/CynjpZzwB8Hz3RZ98hrRwsxDvNfwCX3nApOW0xgWQUdzF7380Z4Z1wqUCwYHnz3f/8OPPBC185QGXVtIeFrjqlTsk/eC9N4YqedlPT+LE8+d7ffjxx8s+xRvyKmy2QqvPu4v/9f57H707l4k1NbE3fpNThRjj3Q8//HDZsmWffvrpp3DhKYloN2/f/k+IDz54//333vvoH+++UUFNefGnegmNvecTO/w8OPlj6yj+UjTXwOAJ8SP2rFZvekQ/a49jWtzeilBwzcPtLQwLJ2MP6K+/m+p/8f8o/g/D4F+ghdKy2AAAAABJRU5ErkJggg=="/>
</defs>
</svg>
`
18 changes: 18 additions & 0 deletions packages/core/src/icons/statemine.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
export default `
<svg width="100%" height="100%" viewBox="0 0 152 152" fill="none" xmlns="http://www.w3.org/2000/svg">
<mask id="mask0_1054_1719" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="0" y="0" width="152" height="152">
<path d="M76 0C133.63 0 152 18.37 152 76C152 133.63 133.63 152 76 152C18.37 152 0 133.63 0 76C0 18.37 18.37 0 76 0Z" fill="#004BFF"/>
</mask>
<g mask="url(#mask0_1054_1719)">
<rect width="152" height="152" fill="black"/>
</g>
<path d="M101.233 90.8933H87.4031L84.8049 84.5512H67.2517L64.6535 90.8933H50.8237L67.3745 53.1887H84.6617L101.233 90.8933ZM76.0488 62.9882L71.4661 74.2403H80.611L76.0488 62.9882Z" fill="white"/>
<path d="M76.0285 45.1899C81.3277 45.1899 85.6234 40.8941 85.6234 35.5949C85.6234 30.2958 81.3277 26 76.0285 26C70.7294 26 66.4336 30.2958 66.4336 35.5949C66.4336 40.8941 70.7294 45.1899 76.0285 45.1899Z" fill="white"/>
<path d="M76.0285 126C81.3277 126 85.6234 121.704 85.6234 116.405C85.6234 111.106 81.3277 106.81 76.0285 106.81C70.7294 106.81 66.4336 111.106 66.4336 116.405C66.4336 121.704 70.7294 126 76.0285 126Z" fill="white"/>
<path d="M40.5949 64.3998C45.8941 64.3998 50.1899 60.104 50.1899 54.8049C50.1899 49.5058 45.8941 45.21 40.5949 45.21C35.2958 45.21 31 49.5058 31 54.8049C31 60.104 35.2958 64.3998 40.5949 64.3998Z" fill="white"/>
<path d="M111.483 64.3998C116.782 64.3998 121.078 60.104 121.078 54.8049C121.078 49.5058 116.782 45.21 111.483 45.21C106.184 45.21 101.888 49.5058 101.888 54.8049C101.888 60.104 106.184 64.3998 111.483 64.3998Z" fill="white"/>
<path d="M40.5949 107.117C45.8941 107.117 50.1899 102.821 50.1899 97.5219C50.1899 92.2228 45.8941 87.927 40.5949 87.927C35.2958 87.927 31 92.2228 31 97.5219C31 102.821 35.2958 107.117 40.5949 107.117Z" fill="white"/>
<path d="M111.483 107.117C116.782 107.117 121.078 102.821 121.078 97.5219C121.078 92.2228 116.782 87.927 111.483 87.927C106.184 87.927 101.888 92.2228 101.888 97.5219C101.888 102.821 106.184 107.117 111.483 107.117Z" fill="white"/>
</svg>
`
103 changes: 16 additions & 87 deletions packages/core/src/icons/statemint.ts
Original file line number Diff line number Diff line change
@@ -1,89 +1,18 @@
export default`
<svg xmlns="http://www.w3.org/2000/svg" version="1.0" viewBox="0.00 0.00 160.00 160.00" width="100%" height="100%">
<path stroke="#808080" stroke-width="2.00" fill="none" stroke-linecap="butt" vector-effect="non-scaling-stroke" d="
M 92.05 127.46
L 58.11 93.52
A 0.99 0.98 -46.4 0 0 56.68 93.56
C 49.53 101.42 47.71 112.98 52.81 122.50
C 60.48 136.84 78.24 140.23 91.17 130.42
Q 93.34 128.78 95.77 127.71
C 109.29 121.81 115.69 107.13 109.20 93.51
Q 101.35 77.02 80.66 79.50
Q 80.12 79.57 79.98 79.04
L 67.81 33.82
A 0.47 0.47 0.0 0 1 68.59 33.37
L 102.14 66.85
A 0.47 0.46 44.6 0 0 102.79 66.85
C 113.81 55.74 111.79 37.35 98.99 28.46
Q 87.37 20.39 72.91 26.74
C 70.07 27.99 68.60 30.41 65.37 31.59
C 54.60 35.55 48.14 45.03 48.29 56.37
Q 48.37 62.86 51.45 68.03
Q 60.54 83.31 79.32 80.15
Q 79.79 80.07 79.91 80.53
L 92.49 127.21
A 0.26 0.26 0.0 0 1 92.05 127.46"
/>
<path fill="#000000" d="
M 50.24 153.76
C 19.88 148.83 7.38 128.33 4.79 99.43
Q 2.89 78.33 5.24 57.25
C 8.49 28.06 22.17 10.78 51.78 6.18
Q 71.48 3.11 94.50 4.52
C 121.81 6.18 145.67 14.88 152.35 44.37
C 156.21 61.44 156.79 79.40 155.44 96.50
C 152.97 127.83 141.50 148.74 108.23 153.81
Q 78.48 158.34 50.24 153.76
Z
M 92.05 127.46
L 58.11 93.52
A 0.99 0.98 -46.4 0 0 56.68 93.56
C 49.53 101.42 47.71 112.98 52.81 122.50
C 60.48 136.84 78.24 140.23 91.17 130.42
Q 93.34 128.78 95.77 127.71
C 109.29 121.81 115.69 107.13 109.20 93.51
Q 101.35 77.02 80.66 79.50
Q 80.12 79.57 79.98 79.04
L 67.81 33.82
A 0.47 0.47 0.0 0 1 68.59 33.37
L 102.14 66.85
A 0.47 0.46 44.6 0 0 102.79 66.85
C 113.81 55.74 111.79 37.35 98.99 28.46
Q 87.37 20.39 72.91 26.74
C 70.07 27.99 68.60 30.41 65.37 31.59
C 54.60 35.55 48.14 45.03 48.29 56.37
Q 48.37 62.86 51.45 68.03
Q 60.54 83.31 79.32 80.15
Q 79.79 80.07 79.91 80.53
L 92.49 127.21
A 0.26 0.26 0.0 0 1 92.05 127.46
Z"
/>
<path fill="#ffffff" d="
M 58.11 93.52
L 92.05 127.46
A 0.26 0.26 0.0 0 0 92.49 127.21
L 79.91 80.53
Q 79.79 80.07 79.32 80.15
Q 60.54 83.31 51.45 68.03
Q 48.37 62.86 48.29 56.37
C 48.14 45.03 54.60 35.55 65.37 31.59
C 68.60 30.41 70.07 27.99 72.91 26.74
Q 87.37 20.39 98.99 28.46
C 111.79 37.35 113.81 55.74 102.79 66.85
A 0.47 0.46 44.6 0 1 102.14 66.85
L 68.59 33.37
A 0.47 0.47 0.0 0 0 67.81 33.82
L 79.98 79.04
Q 80.12 79.57 80.66 79.50
Q 101.35 77.02 109.20 93.51
C 115.69 107.13 109.29 121.81 95.77 127.71
Q 93.34 128.78 91.17 130.42
C 78.24 140.23 60.48 136.84 52.81 122.50
C 47.71 112.98 49.53 101.42 56.68 93.56
A 0.99 0.98 -46.4 0 1 58.11 93.52
Z"
/>
</svg>
export default `
<svg width="100%" height="100%" viewBox="0 0 152 152" fill="none" xmlns="http://www.w3.org/2000/svg">
<mask id="mask0_1054_1718" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="0" y="0" width="152" height="152">
<path d="M76 0C133.63 0 152 18.37 152 76C152 133.63 133.63 152 76 152C18.37 152 0 133.63 0 76C0 18.37 18.37 0 76 0Z" fill="#004BFF"/>
</mask>
<g mask="url(#mask0_1054_1718)">
<rect width="152" height="152" fill="#E6007A"/>
</g>
<path d="M101.233 90.8933H87.4031L84.8049 84.5512H67.2517L64.6535 90.8933H50.8237L67.3745 53.1887H84.6617L101.233 90.8933ZM76.0488 62.9882L71.4661 74.2403H80.611L76.0488 62.9882Z" fill="white"/>
<path d="M76.0285 45.1899C81.3277 45.1899 85.6234 40.8941 85.6234 35.5949C85.6234 30.2958 81.3277 26 76.0285 26C70.7294 26 66.4336 30.2958 66.4336 35.5949C66.4336 40.8941 70.7294 45.1899 76.0285 45.1899Z" fill="white"/>
<path d="M76.0285 126C81.3277 126 85.6234 121.704 85.6234 116.405C85.6234 111.106 81.3277 106.81 76.0285 106.81C70.7294 106.81 66.4336 111.106 66.4336 116.405C66.4336 121.704 70.7294 126 76.0285 126Z" fill="white"/>
<path d="M40.5949 64.3998C45.8941 64.3998 50.1899 60.104 50.1899 54.8049C50.1899 49.5058 45.8941 45.21 40.5949 45.21C35.2958 45.21 31 49.5058 31 54.8049C31 60.104 35.2958 64.3998 40.5949 64.3998Z" fill="white"/>
<path d="M111.483 64.3998C116.782 64.3998 121.078 60.104 121.078 54.8049C121.078 49.5058 116.782 45.21 111.483 45.21C106.184 45.21 101.888 49.5058 101.888 54.8049C101.888 60.104 106.184 64.3998 111.483 64.3998Z" fill="white"/>
<path d="M40.5949 107.117C45.8941 107.117 50.1899 102.821 50.1899 97.5219C50.1899 92.2228 45.8941 87.927 40.5949 87.927C35.2958 87.927 31 92.2228 31 97.5219C31 102.821 35.2958 107.117 40.5949 107.117Z" fill="white"/>
<path d="M111.483 107.117C116.782 107.117 121.078 102.821 121.078 97.5219C121.078 92.2228 116.782 87.927 111.483 87.927C106.184 87.927 101.888 92.2228 101.888 97.5219C101.888 102.821 106.184 107.117 111.483 107.117Z" fill="white"/>
</svg>
`
Loading

0 comments on commit 11ce531

Please sign in to comment.