Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
File renamed without changes.
9,210 changes: 7,526 additions & 1,684 deletions Cargo.lock

Large diffs are not rendered by default.

141 changes: 49 additions & 92 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,15 +1,3 @@
[package]
name = "alkanes"
version.workspace = true
edition.workspace = true
description.workspace = true
license.workspace = true
repository.workspace = true
resolver = "2"

[lib]
crate-type = ["cdylib", "rlib"]

[workspace]
members = [".", "crates/*"]

Expand All @@ -21,11 +9,53 @@ license = "MIT"
repository = "https://github.com/kungfuflex/alkanes-rs"

[workspace.dependencies]
clap = { version = "4.3", features = ["derive"] }
env_logger = "0.10"
anyhow = "1.0.90"
futures = "0.3"
async-trait = "0.1"
base64 = "0.22"
bech32 = "0.11.0"
bip39 = { version = "2.0", package = "tiny-bip39" }
bitcoin_hashes = "0.14.0"
bitcoincore-rpc = "0.18.0"
chrono = { version = "0.4", features = ["serde"] }
dirs = "5.0"
flate2 = "1.0"
lazy_static = "1.5.0"
prost = "0.13.5"
prost-build = "0.13.5"
tokio = { version = "1.0", features = ["rt", "macros", "sync", "time"] }
reqwest = { version = "0.12.23", features = ["json"] }
protobuf = { version = "3.7.2" }
psbt-v2 = "0.1.1"
rand = "0.8"
rand_core = { version = "0.6", features = ["getrandom"] }
getrandom = { version = "0.2", features = ["js"] }
leptos = { version = "0.6.12", features = ["csr"] }
pbkdf2 = "0.12"
leptos_router = { version = "0.6.12", features = ["csr"] }
regex = "1.10"
secp256k1 = { version = "0.29", features = ["rand", "recovery"] }
sha2 = "0.10"
sha3 = "0.10"
smallvec = "1.13"
spin = "0.9.8"
tempfile = "3.8"
thiserror = "1.0"
wasmparser = "0.235.0"
wasmprinter = "0.2"
wat = "1.0"
mockall = "0.13.0"
aes-gcm = "0.10"
tabled = "0.15.0"
url = { version = "2.5.0" }
log = "0.4"
num = "0.4.3"
bitcoin = { version = "0.32.4", features = ["rand"] }
metashrew-core = { git = "https://github.com/sandshrewmetaprotocols/metashrew" }
metashrew-support = { git = "https://github.com/sandshrewmetaprotocols/metashrew" }
protobuf-json-mapping = "3.7.2"
bitcoin = { version = "0.32.4", features = ["rand", "serde"] }
metashrew-core = { path = "./crates/metashrew-core" }
metashrew-support = { path = "./crates/metashrew-support" }
ordinals = { path = "./crates/ordinals" }
protorune = { path = "./crates/protorune" }
protorune-support = { path = "./crates/protorune-support" }
Expand All @@ -41,91 +71,18 @@ wasmi = "0.37.2"
serde = "1.0.210"
serde_json = "1.0.128"
hex = "0.4.3"
protobuf = "3.7.1"
wasm-bindgen-futures = "0.4.45"
web-sys = { version = "0.3.72", features = ["Response", "Window"] }
js-sys = "0.3.72"
hex_lit = "0.1.1"
once_cell = "1.20.1"
borsh = { version = "1.5.7", features = ["derive"] }




[features]
test-utils = []
testnet = []
dogecoin = []
luckycoin = []
bellscoin = []
fractal = []
mainnet = ["protorune/mainnet"]
proxy = []
owned_token = []
auth_token = []
genesis_alkane = []
regtest = []
genesis_protorune = []
amm_pool = ["auth_token"]
amm_factory = ["auth_token"]
amm = ["amm_pool", "amm_factory"]
orbital = []
cache = ["protorune/cache"]
all = []
minimal = [
"refunder",
"merkle_distributor",
"free_mint",
"upgradeable",
"proxy",
]
refunder = []
merkle_distributor = []
free_mint = []
upgradeable = []
debug-log = []


[dependencies]
anyhow = { workspace = true }
num = { workspace = true }
bitcoin = { workspace = true }
metashrew-core = { workspace = true }
metashrew-support = { workspace = true }
ordinals = { workspace = true }
protorune = { workspace = true }
protorune-support = { workspace = true }
alkanes-support = { workspace = true }
ruint = { workspace = true }
wasm-bindgen = { workspace = true }
byteorder = { workspace = true }
wasm-bindgen-test = { workspace = true }
wasmi = { workspace = true }
serde = { workspace = true }
serde_json = { workspace = true }
hex = { workspace = true }
protobuf = { workspace = true }
wasm-bindgen-futures = { workspace = true }
web-sys = { workspace = true }
js-sys = { workspace = true }
hex_lit = { workspace = true }
once_cell = { workspace = true }
borsh = { version = "1.5.7", features = ["derive"] }
sha2 = "0.10.9"

[dev-dependencies]

alkanes = { path = ".", features = [
"genesis_alkane",
"genesis_protorune",
"amm",
"orbital",
"auth_token",
"minimal",
] }
metashrew-core = { git = "https://github.com/sandshrewmetaprotocols/metashrew", features = ["test-utils"] }
protorune = { path = "crates/protorune", features = ["test-utils"] }

[build-dependencies]
anyhow = { workspace = true }
protobuf-codegen = "3.4.0"
flate2 = "1.0.34"
protoc-rust = { version = "2.28.0" }
protoc-bin-vendored = "3.0.0"
hex = { workspace = true }
17 changes: 17 additions & 0 deletions crates/alkanes-cli-asc/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
[package]
name = "alkanes-cli-asc"
version = "0.1.0"
edition = "2021"

[features]
default = ["std"]
std = ["dep:thiserror"]

[dependencies]
thiserror = { workspace = true, optional = true }
nom = "7.1"
crc24 = "0.1.6"
base64 = "0.22"

[dev-dependencies]
pretty_assertions = "1.0"
18 changes: 18 additions & 0 deletions crates/alkanes-cli-asc/src/armor/mod.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
// Copyright 2024 The Deezel Developers
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

//! ASCII Armor.

pub mod reader;
pub mod writer;
Loading