Skip to content
Merged
Show file tree
Hide file tree
Changes from 12 commits
Commits
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,238 changes: 1,225 additions & 1,013 deletions Cargo.lock

Large diffs are not rendered by default.

8 changes: 8 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,15 @@ serde_bytes = "0.11.19"
serde_with = { version = "3.17.0", features = ["hex"] }
p256 = { version = "0.13", features = ["ecdsa"] }
ecdsa = "0.16.9"
ed25519-dalek = "2"
elliptic-curve = "0.13.8"
bip39 = "2"
hmac = "0.12"
sha2 = "0.10"
slip10 = "0.4.3"
Comment thread
tanut32039 marked this conversation as resolved.
Outdated
stellar-strkey = "0.0.16"
stellar-xdr = { version = "26.0.0", features = ["curr", "base64"] }
reqwest = { version = "0.12", default-features = false, features = ["json", "rustls-tls"] }

[build-dependencies]
tonic-build = { version = "0.13.1", features = ["prost"] }
Expand Down
20 changes: 20 additions & 0 deletions proto/fkms/v1/signer.proto
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ service FkmsService {
rpc SignXrpl(SignXrplRequest) returns (SignXrplResponse);
rpc SignIcon(SignIconRequest) returns (SignIconResponse);
rpc SignFlow(SignFlowRequest) returns (SignFlowResponse);
rpc SignSoroban(SignSorobanRequest) returns (SignSorobanResponse);
rpc GetSignerAddresses(GetSignerAddressesRequest) returns (GetSignerAddressesResponse);
}

Expand Down Expand Up @@ -46,6 +47,15 @@ message SignFlowResponse {
bytes tx_blob = 1;
}

message SignSorobanRequest {
SorobanSignerPayload signer_payload = 1;
Tss tss = 2;
}

message SignSorobanResponse {
bytes tx_blob = 1;
Comment thread
tanut32039 marked this conversation as resolved.
Outdated
}

message GetSignerAddressesRequest {}

message GetSignerAddressesResponse {
Expand Down Expand Up @@ -75,6 +85,15 @@ message FlowSignerPayload {
bytes script = 6;
}

message SorobanSignerPayload {
string source_account = 1;
string contract_address = 2;
string fee = 3;
uint64 sequence = 4;
string network_passphrase = 5;
repeated string rpc_urls = 6;
}

message Tss {
bytes message = 1;
bytes random_addr = 2;
Expand All @@ -91,4 +110,5 @@ enum ChainType {
XRPL = 1;
ICON = 2;
FLOW = 3;
SOROBAN = 4;
}
1 change: 1 addition & 0 deletions src/codec.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
pub mod evm;
pub mod flow;
pub mod icon;
pub mod soroban;
pub mod tss;
pub mod xrpl;
Loading
Loading