-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #84 from sephynox/wallet-generation
Wallet generation
- Loading branch information
Showing
13 changed files
with
327 additions
and
74 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,12 @@ | ||
use reqwest::Response; | ||
use thiserror_no_std::Error; | ||
|
||
#[derive(Debug, Error)] | ||
pub enum XRPLJsonRpcException { | ||
#[cfg(feature = "json-rpc")] | ||
#[error("Reqwless error")] | ||
ReqwlessError, | ||
#[cfg(feature = "json-rpc-std")] | ||
#[error("Request error: {0:?}")] | ||
RequestError(Response), | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
use thiserror_no_std::Error; | ||
|
||
#[derive(Error, Debug)] | ||
pub enum XRPLFaucetException { | ||
#[error( | ||
"Cannot fund an account on an issuing chain. Accounts must be created via the bridge." | ||
)] | ||
CannotFundSidechainAccount, | ||
#[error("Cannot derive a faucet URL from the client host.")] | ||
CannotDeriveFaucetUrl, | ||
#[error("Funding request timed out.")] | ||
FundingTimeout, | ||
} |
Oops, something went wrong.