make-software / casper-wallet

Securely manage your CSPR tokens, interact with dapps, and sign transactions with Casper Wallet, the go-to self-custody wallet for the Casper Network.
https://casperwallet.io
Apache License 2.0
21 stars 4 forks source link

fix: Adjust error handling and introduce node status URL #969

Closed ost-ptk closed 5 months ago

ost-ptk commented 5 months ago

Make sure to fill in all the below sections.

Description

This PR refactors the code to adapt to the Casper Node API changes. The URLs for the node services were updated to the new format. The procedure was altered to make, sign, and deploy directly from the application, rather than using an external service. Also, some redundant code was removed and the Content Security Policy (CSP) was updated accordingly. Update detailed error handling for all deploy related functions, ensuring that the data property of a returned error isn't always a string.

Linked tickets

WALLET-315

Checklist