mirror of
https://github.com/Qortal/qortal-ui.git
synced 2025-07-31 06:01:24 +00:00
Added Pirate Chain to wallet (unfinished)
- Address derivation isn't working yet as it appears to be different for Zcash derived coins - Core APIs will be different for ARRR, and these aren't in place in the UI yet IMPORTANT: Do not use this branch for anything other than development, or coins could be lost.
This commit is contained in:
@@ -130,3 +130,16 @@ export const sendRvn = (requestObject) => {
|
||||
})
|
||||
}
|
||||
|
||||
// Send ARRR
|
||||
export const sendArrr = (requestObject) => {
|
||||
const myNode = window.parent.reduxStore.getState().app.nodeConfig.knownNodes[window.parent.reduxStore.getState().app.nodeConfig.node];
|
||||
|
||||
return request(`/crosschain/arrr/send?apiKey=${myNode.apiKey}`, {
|
||||
method: 'POST',
|
||||
headers: {
|
||||
'Accept': 'application/json',
|
||||
'Content-Type': 'application/json'
|
||||
},
|
||||
body: JSON.stringify(requestObject)
|
||||
})
|
||||
}
|
||||
|
Reference in New Issue
Block a user