From 89951b3a48a32b766bbda7a0e858aeec8dd7a608 Mon Sep 17 00:00:00 2001 From: Daniel-Lightcurve Date: Thu, 30 Nov 2023 11:13:03 +0000 Subject: [PATCH 1/3] testnet dex config --- testnet/Dex/app.json | 27 +++++++++++++++++++++++++ testnet/Dex/images/application/dex.png | Bin 0 -> 1397 bytes testnet/Dex/images/application/dex.svg | 7 +++++++ testnet/Dex/images/tokens/dex.png | Bin 0 -> 1397 bytes testnet/Dex/images/tokens/dex.svg | 7 +++++++ testnet/Dex/nativetokens.json | 26 ++++++++++++++++++++++++ 6 files changed, 67 insertions(+) create mode 100644 testnet/Dex/app.json create mode 100644 testnet/Dex/images/application/dex.png create mode 100644 testnet/Dex/images/application/dex.svg create mode 100644 testnet/Dex/images/tokens/dex.png create mode 100644 testnet/Dex/images/tokens/dex.svg create mode 100644 testnet/Dex/nativetokens.json diff --git a/testnet/Dex/app.json b/testnet/Dex/app.json new file mode 100644 index 0000000..28e67ca --- /dev/null +++ b/testnet/Dex/app.json @@ -0,0 +1,27 @@ +{ + "title": "Dex - Testnet", + "description": "Metadata configuration for the Dex blockchain (sidechain) in testnet.", + "chainName": "Dex", + "chainID": "01000011", + "networkType": "testnet", + "genesisURL": "https://lisk-qa.ams3.digitaloceanspaces.com/dex-testnet-genesis-block.tar.gz", + "projectPage": "https://lisk.com", + "logo": { + "png": "https://raw.githubusercontent.com/LiskHQ/app-registry/main/testnet/Dex/images/application/dex.png", + "svg": "https://raw.githubusercontent.com/LiskHQ/app-registry/main/testnet/Dex/images/application/dex.svg" + }, + "backgroundColor": "#f7f9fb", + "serviceURLs": [ + { + "http": "https://testnet-dex-service.lisk.com", + "ws": "wss://testnet-dex-service.lisk.com" + } + ], + "explorers": [], + "appNodes": [ + { + "url": "https://testnet-dex.lisk.com", + "maintainer": "Lightcurve GmbH" + } + ] +} \ No newline at end of file diff --git a/testnet/Dex/images/application/dex.png b/testnet/Dex/images/application/dex.png new file mode 100644 index 0000000000000000000000000000000000000000..eb816cb5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p5smP)GP>$-U~X%g^V}K8zKgt?i4==(96?7 z8=D75KW(JXlN60O7?Flqr@u~y`%$^8(q8MhQ)^IktwJz2D7usZ>+$IWSwIB^EsnkkPg*vv;zR?RIK}@SI6kNPg+&rGPz3m8oN>oOaqC+Z(9-f`^A6 z85stK!TBFxnpBQ=#tA8%c-m7T|H;hUx{%$>fQg_R{yMDAISp8)MDITRWnyV1_?K9( zMqs|T@%ZIb6Eqr)Mx)VaG#ZUYqtR$I8jVJy`Csra6^u#r76=qv00000NkvXXu0mjf D-rb6a literal 0 HcmV?d00001 diff --git a/testnet/Dex/images/application/dex.svg b/testnet/Dex/images/application/dex.svg new file mode 100644 index 0000000..abd9831 --- /dev/null +++ b/testnet/Dex/images/application/dex.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/testnet/Dex/images/tokens/dex.png b/testnet/Dex/images/tokens/dex.png new file mode 100644 index 0000000000000000000000000000000000000000..eb816cb5c1fb520e5fcb72577a0f11f6418b1504 GIT binary patch literal 1397 zcmV-*1&aEKP)|a<{XTNRbjPD@tE#><^H&;(m}jGy9*R0W=zoMx)VaG#ZUY zqtR$I8jVJyNoBcox(!zhHtN9pci&VIWqGA^whC7W9A(gh(pkYn|991vfR4C!ey3KS za^VUvQUtVfZME58!w9m#+S!M2MYuEq?w8)!LSm6I<$c)fUUq$%xl?OgcVGna`BK5) zMj@?_8{BEN8qT}U3pwFNGnZ>y@o|41J+H^d+?u&tM9D1Gev86AJp8#C_8D*q64^GL zeT!f7ZnJZ96(tnuvXwz!3E~2b0Q1d?04S&SaT8{z?==zqt-lUm>?Zq+RRLHXw)S;6 zFG$)vje8be`{?HU(m%)hHPyZ~Ghdbxwq>_3Bd|0!MMINUO*2CWhgH6k_1CNttRie9qthbJnM!qltI>IL^LEs0o z(S6dGtgn1=N|u$2>XM-7ps(BT4oHa(pm4(92x!N8D<4nKy9Y=6TPagr+Ca1a;u&OL z2QztQjT!#0^t2W|a^Z%-AKsY0N0Jpdu(LYnYyI;tG=Rrw^WDj`s3UUck5t=~=NlfH zHZ?6Jh*TR?zHdx?3nPLkcK$wk9*xgic7YyTX-i;K5~T`xZ^w1($t)v9?cn&u+C}TO z+`2P6Jx7KMj|{G(@_95Lc3SSB)}$T*<$c z9z09l3nHU~HIebYhB3%;<57H_AR0hL9XZhVQk|4)01Ev`P-v0n)5c`t+;pSC32#Jc zaTDGHhrG>D)?)Xx2L>T4&rZ+F#OLOh+x_d%?2Z1Z5=1r4`-%Yr#Dp(ENN=fsjEV-7 zG73jkA-=aDBK#IMDf5gSQ3s^{*sWPY`h_n}!T>7t5o4-J=cYy>pEmJH) zjRT$652LmeV^^6$+UtgX2x-HG&z3L%XS^JGKM+3fhKidhy|^gZ%b%aD!kVGLCMkDq(# z@jVy==KGac+H+$^!Mb7ksXCQNgIVD%QHoOn*jY|obRgf%KO0ma&#T!77BcgtXsZIDCei= zc3XXAa>4*A#XTs!T8J6J@(uif1TG3Sp5smP)GP>$-U~X%g^V}K8zKgt?i4==(96?7 z8=D75KW(JXlN60O7?Flqr@u~y`%$^8(q8MhQ)^IktwJz2D7usZ>+$IWSwIB^EsnkkPg*vv;zR?RIK}@SI6kNPg+&rGPz3m8oN>oOaqC+Z(9-f`^A6 z85stK!TBFxnpBQ=#tA8%c-m7T|H;hUx{%$>fQg_R{yMDAISp8)MDITRWnyV1_?K9( zMqs|T@%ZIb6Eqr)Mx)VaG#ZUYqtR$I8jVJy`Csra6^u#r76=qv00000NkvXXu0mjf D-rb6a literal 0 HcmV?d00001 diff --git a/testnet/Dex/images/tokens/dex.svg b/testnet/Dex/images/tokens/dex.svg new file mode 100644 index 0000000..abd9831 --- /dev/null +++ b/testnet/Dex/images/tokens/dex.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/testnet/Dex/nativetokens.json b/testnet/Dex/nativetokens.json new file mode 100644 index 0000000..1906f53 --- /dev/null +++ b/testnet/Dex/nativetokens.json @@ -0,0 +1,26 @@ +{ + "title": "Dex - Testnet - Native tokens", + "tokens": [ + { + "tokenID": "0100001100000000", + "tokenName": "Dex", + "description": "Native Utility Token", + "denomUnits": [ + { + "denom": "dex", + "decimals": 8, + "aliases": [ + "Dex" + ] + } + ], + "baseDenom": "dex", + "displayDenom": "dex", + "symbol": "DEX", + "logo": { + "png": "https://raw.githubusercontent.com/LiskHQ/app-registry/main/testnet/Dex/images/tokens/dex.png", + "svg": "https://raw.githubusercontent.com/LiskHQ/app-registry/main/testnet/Dex/images/tokens/dex.svg" + } + } + ] +} \ No newline at end of file From d8577be8a1f3d4401c2c79509d958095109e0f23 Mon Sep 17 00:00:00 2001 From: Daniel-Lightcurve Date: Thu, 30 Nov 2023 11:52:17 +0000 Subject: [PATCH 2/3] refactor: native token decimals --- testnet/Dex/nativetokens.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testnet/Dex/nativetokens.json b/testnet/Dex/nativetokens.json index 1906f53..d9f33f5 100644 --- a/testnet/Dex/nativetokens.json +++ b/testnet/Dex/nativetokens.json @@ -8,7 +8,7 @@ "denomUnits": [ { "denom": "dex", - "decimals": 8, + "decimals": 0, "aliases": [ "Dex" ] From cd789631b145df8ba73b99fb3b3f51d60bd059c6 Mon Sep 17 00:00:00 2001 From: Daniel-Lightcurve Date: Thu, 30 Nov 2023 12:44:18 +0000 Subject: [PATCH 3/3] refactor: add apiCertificatePublickKeys --- testnet/Dex/app.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/testnet/Dex/app.json b/testnet/Dex/app.json index 28e67ca..c47215f 100644 --- a/testnet/Dex/app.json +++ b/testnet/Dex/app.json @@ -14,13 +14,15 @@ "serviceURLs": [ { "http": "https://testnet-dex-service.lisk.com", - "ws": "wss://testnet-dex-service.lisk.com" + "ws": "wss://testnet-dex-service.lisk.com", + "apiCertificatePublicKey": "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEa660HFMuGo55VCL26J+2tZsSFWDb\nZDWBRvR+X9fTO7IpoWtjikgffM3owzvnr2qvNtd0HKJT7UeZC8YUGy8A4Q==\n-----END PUBLIC KEY-----\n" } ], "explorers": [], "appNodes": [ { "url": "https://testnet-dex.lisk.com", + "apiCertificatePublicKey": "-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAr30+qPVRk0PiqYtHw5Y3\nyHCL94Erecl6Y3xvAsukINlqUqZvhqaInWAEM1dGiBvrhRQGQELFTZrrtS5ggM/K\nQcRacxDBLWG8asKVlh8MhZlLj+9u9imxG/f7A+xhp4BnnDq/F8k4Lm4iSg+H+kAu\nS6a4yWBVvy1mUxMU7fSq2/QpwdC+Dc+sAPS+CLnImkl8gi1W4JWRWmHHLZ8ROKAH\nNTMJRaoqSHqb749LUcB10mhmrQx3OSKZVKIeg/XGo6SDewF8bLOCypnOA+QEszSs\nQNrGJLTcnobC0+tTPcQ9SRggP014nZcLBxGuk5BLIMzDueKd6iW0gFGvXemSAGRe\nIQIDAQAB\n-----END PUBLIC KEY-----\n", "maintainer": "Lightcurve GmbH" } ]