-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3a3e344
commit 3d71e51
Showing
29 changed files
with
193 additions
and
202 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
{ | ||
"$schema": "https://dprint.dev/schemas/v0.json", | ||
"projectType": "openSource", | ||
"incremental": true, | ||
"markdown": { | ||
}, | ||
"rustfmt": { | ||
"merge_imports": true | ||
}, | ||
"includes": ["**/*.{md,rs,toml}"], | ||
"excludes": [ | ||
"**/target" | ||
], | ||
"plugins": [ | ||
"https://plugins.dprint.dev/markdown-0.4.1.wasm", | ||
"https://plugins.dprint.dev/rustfmt-0.3.0.wasm", | ||
"https://github.com/thomaseizinger/dprint-plugin-cargo-toml/releases/download/0.1.0/cargo-toml-0.1.0.wasm" | ||
] | ||
} |
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,2 +1,2 @@ | ||
[workspace] | ||
members = ["elements-harness", "swap", "elements-fun"] | ||
members = [ "elements-harness", "swap", "elements-fun" ] |
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,3 +1,3 @@ | ||
# Project Droplet | ||
|
||
This repository contains code produced in the phase of Project Droplet. | ||
This repository contains code produced in the phase of Project Droplet. |
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,10 +1,10 @@ | ||
[package] | ||
name = "elements-fun" | ||
version = "0.1.0" | ||
authors = ["CoBloX Team <[email protected]>"] | ||
description = "Make it fun to work with the elements blockchain!" | ||
license = "CC0-1.0" | ||
authors = [ "CoBloX Team <[email protected]>" ] | ||
edition = "2018" | ||
license = "CC0-1.0" | ||
description = "Make it fun to work with the elements blockchain!" | ||
|
||
[features] | ||
default = [ "json-contract" ] | ||
|
@@ -13,25 +13,19 @@ serde = [ | |
"bitcoin/use-serde", | ||
"serde-crate" | ||
] | ||
"fuzztarget" = [] | ||
"fuzztarget" = [ ] | ||
|
||
[dependencies] | ||
bitcoin = { version = "0.25", features = ["rand"] } | ||
slip21 = "0.2.0" | ||
bitcoin = { version = "0.25", features = [ "rand" ] } | ||
bitcoin_hashes = "0.9.0" # While this dependency is included in bitcoin, we need this to use the macros. | ||
hex = "0.4.2" | ||
libc = "0.2.69" | ||
wally-sys = { git= "https://github.com/RCasatta/wally-sys", rev="4a2f6740a18f96e7eeb73f29523757647077a069" } | ||
|
||
# While this dependency is included in bitcoin, we need this to use the macros. | ||
# We should probably try keep this one in sync with the bitcoin version, | ||
# to avoid requiring two version of bitcoin_hashes. | ||
bitcoin_hashes = "0.9.0" | ||
|
||
# Used for ContractHash::from_json_contract. | ||
serde-crate = { package = "serde", version = "1", optional = true, features = [ "derive" ] } # Used for ContractHash::from_json_contract. | ||
serde_json = { version = "1", optional = true } | ||
serde-crate = { package = "serde", version = "1", optional = true, features = ["derive"] } | ||
slip21 = "0.2.0" | ||
wally-sys = { git = "https://github.com/RCasatta/wally-sys", rev = "4a2f6740a18f96e7eeb73f29523757647077a069" } | ||
|
||
[dev-dependencies] | ||
rand = "0.6.5" | ||
serde_json = "1" | ||
ryu = "<1.0.5" | ||
serde_json = "1" |
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
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
Oops, something went wrong.