Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sidechain support #86

Closed
wants to merge 132 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
132 commits
Select commit Hold shift + click to select a range
bd7d44b
make GitHub workflows work with dev branch instead of develop
May 28, 2023
3ae950e
add code examples
Aug 3, 2023
0d7f9e9
fix model constructor to public; wallet scope public
Aug 3, 2023
e68ae4e
add changes to changelog
Aug 3, 2023
aacb322
add changes to changelog
Aug 3, 2023
1e134c9
Add Examples
LimpidCrypto Aug 9, 2023
e556441
run tests on pull requests to the dev branch
Aug 9, 2023
31d6951
add AsyncWebsocketClient
Aug 14, 2023
cf1ba5c
add AsyncWebsocketClient example
Aug 14, 2023
d33fc21
add AsyncWebsocketClient tests
Aug 14, 2023
a39d17e
add networking dependencies/update dependencies
Aug 14, 2023
085e308
adjust git workflow
Aug 14, 2023
0e7e952
add changes to changelog
Aug 14, 2023
dd3136f
try fix git worklow error
Aug 14, 2023
54d2a78
remove async_json_rpc_client module
Aug 14, 2023
3bd4e29
resolve unwraps
Aug 15, 2023
483a0b3
improve features
Aug 18, 2023
b047854
improve features
Aug 18, 2023
c356da4
remove unneeded ToString
Aug 18, 2023
c8e0aae
resolve git workflow error
Aug 18, 2023
a10cb05
resolve git workflow error
Aug 18, 2023
a8a0dbc
handle unwraps
Aug 23, 2023
2e6048c
fix examples
Aug 26, 2023
8ffaeb7
fix deprecation warnings
Aug 26, 2023
cef2efe
handle test unwraps
Aug 26, 2023
9dec766
add embedded-websocket documentation
Aug 26, 2023
d7fb5e6
Merge pull request #70 from sephynox/async-websocket-client
LimpidCrypto Aug 28, 2023
88cc2e5
use String instead of Cow<'a, str> for structs using serde_with_tag m…
Sep 18, 2023
64e22f3
utilize Cow for models
Sep 18, 2023
f22d5de
utilize Cow for models
Sep 18, 2023
ea44169
cargo fmt
Sep 18, 2023
095f5c4
Merge pull request #72 from sephynox/revise-models
LimpidCrypto Sep 18, 2023
4ace744
add devcontainer
LimpidCrypto Jan 8, 2024
edf1df7
fix async client tests
LimpidCrypto Jan 14, 2024
a8d4b6d
fix github workflow
LimpidCrypto Jan 14, 2024
402e538
fix tests with --all-features
LimpidCrypto Jan 15, 2024
a7fa28d
fix --no-default-features tests with embedded-ws
LimpidCrypto Jan 15, 2024
08a2806
try fix colliding embebedded-websocket feature with dep: syntax
LimpidCrypto Jan 28, 2024
e272d93
fix ambiguous name error
LimpidCrypto Jan 28, 2024
4dfcfcd
Revise Models (#74)
LimpidCrypto Feb 7, 2024
fee9afa
revise dependencies
LimpidCrypto Jun 8, 2024
c277b81
remove old clients
LimpidCrypto Jun 8, 2024
b8fb8ff
add new clients
LimpidCrypto Jun 8, 2024
10a7057
add codec for std embedded websocket
LimpidCrypto Jun 8, 2024
96c23fe
move websocket exceptions
LimpidCrypto Jun 8, 2024
3132ced
add WebsocketBase
LimpidCrypto Jun 8, 2024
0f507a8
add Client and AsyncClient traits
LimpidCrypto Jun 8, 2024
9199ad2
add XRPLWebsocketIO as standardized trait
LimpidCrypto Jun 8, 2024
4523e42
adjust clients mod
LimpidCrypto Jun 8, 2024
57e916f
add XRPLResponse
LimpidCrypto Jun 8, 2024
1d49e57
revise the Request trait to have methods to get a resut models common…
LimpidCrypto Jun 8, 2024
dc8161a
cargo fmt
LimpidCrypto Jun 8, 2024
d3b2d16
add get_random_id utility function
LimpidCrypto Jun 8, 2024
19c0696
add xrpl testnet uri
LimpidCrypto Jun 8, 2024
b9b57e2
revise the tests to work with the changes
LimpidCrypto Jun 8, 2024
7f2590d
error handling
LimpidCrypto Jun 9, 2024
44dad79
improve testing
LimpidCrypto Jun 9, 2024
ea777b2
implement websocket client request
LimpidCrypto Jun 11, 2024
2475c02
implement websocket client request for embedded websocket
LimpidCrypto Jun 11, 2024
2179b26
update rand trying to get rid of cargo check: OsRng: rand_core::RngCo…
LimpidCrypto Jun 11, 2024
400ae69
fix github workflow build and tests
LimpidCrypto Jun 11, 2024
f17a2e5
fix github workflow build and tests
LimpidCrypto Jun 11, 2024
c1dfb55
run linters
LimpidCrypto Jun 11, 2024
db3e2aa
Merge pull request #77 from sephynox/standardized_client_interface
LimpidCrypto Jun 11, 2024
4c062fc
add json rpc client
LimpidCrypto Jun 12, 2024
2dcc00c
add json rpc for std and tests
LimpidCrypto Jun 13, 2024
d272c0d
cargo fmt
LimpidCrypto Jun 13, 2024
b41295a
add pre-commit test with json-rpc-std
LimpidCrypto Jun 13, 2024
15786c4
cargo fmt
LimpidCrypto Jun 15, 2024
ebf1af9
cargo fix
LimpidCrypto Jun 15, 2024
e264d15
Merge pull request #78 from sephynox/add_json_rpc_clients
LimpidCrypto Jun 15, 2024
e827d7a
improve client code
LimpidCrypto Jun 28, 2024
19e2757
refactor features
LimpidCrypto Jul 16, 2024
bd88c79
fix tungstenite example
LimpidCrypto Jul 19, 2024
8d7568e
fix clients
LimpidCrypto Jul 19, 2024
98ec8ef
fix client tests
LimpidCrypto Jul 19, 2024
8510158
fix tests
LimpidCrypto Jul 19, 2024
b3282e3
rename features in github workflow
LimpidCrypto Jul 19, 2024
7cfc8d8
update dependencies; add no_std websocket client example; fix some fe…
LimpidCrypto Aug 9, 2024
a8a480e
fix default features
LimpidCrypto Aug 9, 2024
cc48076
add transaction auto filling as in #76 (#80)
LimpidCrypto Aug 10, 2024
518451f
Merge branch 'dev' into update-dependencies
LimpidCrypto Aug 15, 2024
0eb7d21
fix testing
LimpidCrypto Aug 15, 2024
cdc8a50
fix testing
LimpidCrypto Aug 15, 2024
070b3da
Merge pull request #79 from sephynox/update-dependencies
LimpidCrypto Aug 15, 2024
6cbf998
Transaction signing (#71)
LimpidCrypto Aug 31, 2024
3e2b3cb
Account helpers (#81)
LimpidCrypto Sep 1, 2024
f00c4ea
add get_latest_open_ledger_sequence
LimpidCrypto Sep 1, 2024
950d97a
Merge pull request #82 from sephynox/ledger-helpers
LimpidCrypto Sep 1, 2024
1662d60
add submit_and_wait
LimpidCrypto Sep 4, 2024
2597c29
add faucet wallet generation
LimpidCrypto Sep 6, 2024
d94f569
try fix tests
LimpidCrypto Sep 6, 2024
38fe23c
try fix tests
LimpidCrypto Sep 6, 2024
4efce92
try fix tests
LimpidCrypto Sep 6, 2024
2e44967
try fix tests
LimpidCrypto Sep 6, 2024
6e6d87d
Merge pull request #83 from sephynox/submit-and-wait
LimpidCrypto Sep 6, 2024
88eadd4
add submit_and_wait
LimpidCrypto Sep 4, 2024
86db117
try fix tests
LimpidCrypto Sep 6, 2024
7189ba7
try fix tests
LimpidCrypto Sep 6, 2024
255533e
try fix tests
LimpidCrypto Sep 6, 2024
47664be
try fix tests
LimpidCrypto Sep 6, 2024
b76e270
finalize
LimpidCrypto Sep 6, 2024
200f9b5
fix github tests
LimpidCrypto Sep 7, 2024
901c53a
fix github tests
LimpidCrypto Sep 7, 2024
696b32d
fix github tests
LimpidCrypto Sep 7, 2024
3a62396
Merge pull request #84 from sephynox/wallet-generation
LimpidCrypto Sep 7, 2024
4400592
refactoring
LimpidCrypto Sep 8, 2024
06723bc
cargo fmt
LimpidCrypto Sep 8, 2024
bfdf83b
clippy fix
LimpidCrypto Sep 8, 2024
e452a47
Merge pull request #85 from sephynox/refactoring
LimpidCrypto Sep 8, 2024
816d1dd
add sync clients and helpers; add examples; fix clippy warnings
LimpidCrypto Sep 9, 2024
a907867
fix gh tests
LimpidCrypto Sep 9, 2024
080c218
fix gh tests
LimpidCrypto Sep 9, 2024
90e2a6a
fix gh tests
LimpidCrypto Sep 9, 2024
ac839b8
add sign_and_submit example
LimpidCrypto Sep 10, 2024
0dd4a10
always serialize flags
LimpidCrypto Sep 11, 2024
9e8490a
update test data
LimpidCrypto Sep 11, 2024
004261f
update definitions
LimpidCrypto Sep 11, 2024
0cee573
add xchain transactions
LimpidCrypto Sep 11, 2024
abd84bc
add transaction validation
LimpidCrypto Sep 11, 2024
2250fa7
add XChainModifyBridge validation
LimpidCrypto Sep 12, 2024
a09a4d4
set version for embedded-websocket
LimpidCrypto Sep 12, 2024
9068877
update package
LimpidCrypto Sep 12, 2024
9b560b4
fix tests by adding rt-multi-thread feature for tokio
LimpidCrypto Sep 12, 2024
936eecb
fix tests by enabling time feature for tokio
LimpidCrypto Sep 12, 2024
034e3b2
use embedded-websocket-embedded-io instead of embedded-websocket
LimpidCrypto Sep 12, 2024
ace82b4
change version back to 0.2.0
LimpidCrypto Sep 13, 2024
0171cbd
only include src and Cargo.toml in build
LimpidCrypto Sep 13, 2024
81bc557
update changelog
LimpidCrypto Sep 13, 2024
72265fc
add xchain ledger objects
LimpidCrypto Sep 28, 2024
71668b8
Merge branch 'dev' into sidechain-support
LimpidCrypto Oct 11, 2024
94cf8f8
resolve merge issues
LimpidCrypto Oct 11, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2,069 changes: 1,645 additions & 424 deletions src/core/definitions/definitions.json

Large diffs are not rendered by default.

6 changes: 5 additions & 1 deletion src/core/definitions/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,11 @@ pub struct Types {
pub u_int_32: i16,
#[serde(rename = "STArray")]
pub st_array: i16,
pub metadata: i16,
pub currency: i16,
pub issue: i16,
#[serde(rename = "XChainBridge")]
pub xchain_bridge: i16,
}

#[derive(Debug, Serialize, Deserialize, Clone)]
Expand Down Expand Up @@ -476,7 +481,6 @@ impl DefinitionMaker for DefinitionMap {
) -> (FieldInfoMap, FieldHeaderNameMap) {
let mut field_info_map = FieldInfoMap::default();
let mut field_header_name_map = FieldHeaderNameMap::default();

for field in fields {
let field_name: &str = &(field.0);
let field_info: FieldInfo = (field.1).to_owned();
Expand Down
Loading
Loading