Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
4376be8
Basic Adder pallet added
Pessina Sep 10, 2025
f1497a7
Include buildEvmTx
Pessina Sep 10, 2025
83b13e1
Remove felipe demo pallet, include test for buildEvmTx
Pessina Sep 13, 2025
449fca1
Update test file
Pessina Sep 13, 2025
33566d9
Replace signet.rs with alloy
Pessina Sep 13, 2025
5b11887
Clean up
Pessina Sep 13, 2025
015ea5d
Fix test
Pessina Sep 13, 2025
6550d37
Emit event from build-evm-tx pallet
Pessina Sep 14, 2025
f16dc4b
Include docs
Pessina Sep 14, 2025
cd92721
Update max tx data length
Pessina Sep 14, 2025
ba3de57
Remove useless comments
Pessina Sep 14, 2025
8fe49e0
PR comments
Pessina Sep 16, 2025
eea3629
Replace alloy with ethereum crate
Pessina Sep 17, 2025
17121ac
use H160 for address and include access_list on args list
Pessina Sep 21, 2025
d4478ca
feat: add test pallet
esaminu Sep 15, 2025
7c021f8
feat: admin account
esaminu Sep 15, 2025
bfab24b
feat: signature deposit
esaminu Sep 15, 2025
70d1e13
feat: withdraw funds
esaminu Sep 15, 2025
2ce0620
feat: sign req
esaminu Sep 15, 2025
47fae98
feat: add respond, sign_respond, read_respond
esaminu Sep 15, 2025
e49635a
fix: remove emit event
esaminu Sep 17, 2025
01cdc1d
feat: add test client
esaminu Sep 19, 2025
436bc80
feat: cleanup
esaminu Sep 22, 2025
1c46ef5
feat: cross pallet test
esaminu Sep 29, 2025
7897e43
fix: use bounded vec
esaminu Oct 6, 2025
b58b22e
feat: erc 20 vault and tests
esaminu Oct 6, 2025
67b19a0
fix: reduce flakiness
esaminu Oct 8, 2025
a9ef18e
fix: README
esaminu Oct 10, 2025
d868914
fix: README
esaminu Oct 10, 2025
9a74d13
feat: move to caip2
esaminu Nov 3, 2025
c735e20
feat: add btc vault pallet
esaminu Nov 25, 2025
9ee139f
chore: README
esaminu Nov 25, 2025
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
379 changes: 263 additions & 116 deletions Cargo.lock

Large diffs are not rendered by default.

9 changes: 9 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,9 @@ members = [
'pallets/broadcast',
'liquidation-worker-support',
'pallets/hsm',
'pallets/build-evm-tx',
"pallets/signet",
'pallets/erc20-vault',
]

resolver = "2"
Expand All @@ -58,6 +61,7 @@ codec = { package = "parity-scale-codec", version = "3.6.12", default-features =
scale-info = { version = "2.11.1", default-features = false, features = ["derive"] }
serde = { version = "1.0.209", default-features = false }
primitive-types = { version = "0.12.2", default-features = false }
borsh = { version = "1.5.7", default-features = false, features = ["derive"] }

affix = "0.1.2"
alloy-primitives = { version = "0.7", default-features = false }
Expand Down Expand Up @@ -157,7 +161,12 @@ pallet-liquidation = { path = "pallets/liquidation", default-features = false }
pallet-broadcast = { path = "pallets/broadcast", default-features = false }
liquidation-worker-support = { path = "liquidation-worker-support", default-features = false }
pallet-hsm = { path = "pallets/hsm", default-features = false }
pallet-build-evm-tx = { path = "pallets/build-evm-tx", default-features = false }
pallet-build-btc-tx = { path = "pallets/build-btc-tx", default-features = false }
pallet-parameters = { path = "pallets/parameters", default-features = false }
pallet-signet = { path = "pallets/signet", default-features = false }
pallet-erc20-vault = { path = "pallets/erc20-vault", default-features = false }
pallet-btc-vault = { path = "pallets/btc-vault", default-features = false }

hydra-dx-build-script-utils = { path = "utils/build-script-utils", default-features = false }
scraper = { path = "scraper", default-features = false }
Expand Down
69 changes: 69 additions & 0 deletions pallets/btc-vault/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
[package]
name = "pallet-btc-vault"
version = "1.0.0"
authors = ["Substrate DevHub <https://github.com/substrate-developer-hub>"]
edition = "2021"
license = "Apache-2.0"
publish = false

[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]

[dependencies]
codec = { package = "parity-scale-codec", version = "3.6.12", default-features = false, features = ["derive"] }
scale-info = { version = "2.11.1", default-features = false, features = ["derive"] }
hex = { version = "0.4", default-features = false, features = ["alloc"] }
serde = { version = "1.0", default-features = false, features = ["derive", "alloc"] }
serde_json = { version = "1.0", default-features = false, features = ["alloc"] }

frame-benchmarking = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2409-2", default-features = false, optional = true }
frame-support = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2409-2", default-features = false }
frame-system = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2409-2", default-features = false }
sp-io = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2409-2", default-features = false }
sp-core = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2409-2", default-features = false }
sp-std = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2409-2", default-features = false }
sp-runtime = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2409-2", default-features = false }

alloy-sol-types = { version = "0.8.14", default-features = false }

pallet-signet = { path = "../signet", default-features = false }
pallet-build-btc-tx = { path = "../build-btc-tx", default-features = false }

[dev-dependencies]
pallet-balances = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-stable2409-2" }
secp256k1 = { version = "0.29.1", features = ["rand", "recovery"] }

[features]
default = ["std"]
std = [
"codec/std",
"scale-info/std",
"hex/std",
"serde/std",
"serde_json/std",
"frame-benchmarking?/std",
"frame-support/std",
"frame-system/std",
"sp-io/std",
"sp-core/std",
"sp-std/std",
"sp-runtime/std",
"alloy-sol-types/std",
"pallet-signet/std",
"pallet-build-btc-tx/std"
]
runtime-benchmarks = [
"frame-benchmarking/runtime-benchmarks",
"frame-support/runtime-benchmarks",
"frame-system/runtime-benchmarks",
]
try-runtime = [
"frame-support/try-runtime",
"frame-system/try-runtime",
]

[target.'cfg(not(feature = "std"))'.dependencies]
borsh = { version = "1.5", default-features = false, features = ["derive", "hashbrown"] }

[target.'cfg(feature = "std")'.dependencies]
borsh = { version = "1.5", default-features = false, features = ["derive", "std"] }
Loading
Loading