forked from keep-starknet-strange/shinigami
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feat: Generics and Crates (keep-starknet-strange#220)
<!-- enter the gh issue after hash --> Generic engine and crates refactor - [ ] issue # - [ ] follows contribution [guide](https://github.com/keep-starknet-strange/shinigami/blob/main/CONTRIBUTING.md) - [ ] code change includes tests <!-- PR description below -->
- Loading branch information
1 parent
b42984e
commit 0029571
Showing
68 changed files
with
1,572 additions
and
1,092 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 |
---|---|---|
@@ -1 +1 @@ | ||
scarb 2.8.0 | ||
scarb 2.8.2 |
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,11 +1,17 @@ | ||
[package] | ||
[workspace] | ||
members = ["packages/*"] | ||
|
||
[workspace.package] | ||
name = "shinigami" | ||
description = "Bitcoin Script Engine" | ||
version = "0.1.0" | ||
cairo-version = "2.8.2" | ||
edition = "2024_07" | ||
readme = "README.md" | ||
license-file = "LICENSE" | ||
repository = "https://github.com/keep-starknet-strange/shinigami.git" | ||
|
||
[dependencies] | ||
[workspace.dependencies] | ||
ripemd160 = { git = "https://github.com/j1mbo64/ripemd160_cairo.git" } | ||
sha1 = { git = "https://github.com/j1mbo64/sha1_cairo.git" } | ||
|
||
[dev-dependencies] | ||
cairo_test = "2.8.0" | ||
cairo_test = "2.8.2" |
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
Empty file.
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,15 @@ | ||
[package] | ||
name = "cmds" | ||
version = "0.1.0" | ||
edition = "2024_07" | ||
|
||
[dependencies] | ||
compiler = { path = "../compiler" } | ||
engine = { path = "../engine" } | ||
utils = { path = "../utils" } | ||
|
||
[dev-dependencies] | ||
cairo_test.workspace = true | ||
|
||
[scripts] | ||
lint = "scarb fmt" |
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 @@ | ||
pub mod main; |
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 @@ | ||
# Bitcoin Script Compiler in Cairo |
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,14 @@ | ||
[package] | ||
name = "compiler" | ||
version = "0.1.0" | ||
edition = "2024_07" | ||
|
||
[dependencies] | ||
engine = { path = "../engine" } | ||
utils = { path = "../utils" } | ||
|
||
[dev-dependencies] | ||
cairo_test.workspace = true | ||
|
||
[scripts] | ||
lint = "scarb fmt" |
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,7 @@ | ||
pub mod compiler; | ||
pub mod utils; | ||
|
||
#[cfg(test)] | ||
mod tests { | ||
mod test_compiler; | ||
} |
File renamed without changes.
Oops, something went wrong.