add RVN wallet

This commit is contained in:
QuickMythril
2022-04-21 11:32:05 -04:00
parent d494827d71
commit dad6f06e95
5 changed files with 379 additions and 2 deletions

View File

@@ -101,3 +101,17 @@ export const sendDoge = (requestObject) => {
body: JSON.stringify(requestObject)
})
}
// Send RVN
export const sendRvn = (requestObject) => {
const myNode = window.parent.reduxStore.getState().app.nodeConfig.knownNodes[window.parent.reduxStore.getState().app.nodeConfig.node];
return request(`/crosschain/rvn/send?apiKey=${myNode.apiKey}`, {
method: 'POST',
headers: {
'Accept': 'application/json',
'Content-Type': 'application/json'
},
body: JSON.stringify(requestObject)
})
}