Skip to content

Commit 1dc2417

Browse files
authored
Merge pull request #262 from expand-network/feature_ENC-2652_XRPL-Signer
Feature enc 2652 xrpl signer
2 parents e617484 + a0ce798 commit 1dc2417

File tree

9 files changed

+15074
-12935
lines changed

9 files changed

+15074
-12935
lines changed

configuration/config.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -271,6 +271,18 @@
271271
"chainSymbol": "TXLM",
272272
"networkPassphrase": "Test SDF Network ; September 2015",
273273
"rpc": "https://horizon-testnet.stellar.org"
274+
},
275+
"1600": {
276+
"localName": "XRPLedger",
277+
"chainName": "XRPL",
278+
"chainSymbol": "XRPL",
279+
"network": "mainnet"
280+
},
281+
"1601": {
282+
"localName": "XRPLedgerTestnet",
283+
"chainName": "XRPL",
284+
"chainSymbol": "TXRPL",
285+
"network": "testnet"
274286
}
275287
},
276288
"fireblocks": {

configuration/schema.js

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -228,6 +228,24 @@ exports.jsonSchema = {
228228
},
229229
},
230230

231+
// Field Mapping for xrplSignTransaction() function
232+
{
233+
if: {
234+
properties: {
235+
function: { type: "string", pattern: "xrplSignTransaction()" },
236+
}
237+
},
238+
then: {
239+
properties: {
240+
chainId: { type: "string" },
241+
chainSymbol: { type: "string" },
242+
data: { type: "string" },
243+
rpc: { type: "string" },
244+
},
245+
required: ["data"]
246+
},
247+
},
248+
231249
// Field Mapping for userOnboardingDYDX() function
232250
{
233251
if: {

0 commit comments

Comments
 (0)