SHOWING: First 60
inscription_id: InscriptionId,
},
ValueOverflow,
}
#[derive(Debug, PartialEq)]
pub enum Target {
Value(Amount),
Postage,
ExactPostage(Amount),
}
impl fmt::Display for Error {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
match self {
Error::Dust {
output_value,
dust_value,
} => write!(f, "output value is below dust value: {output_value} < {dust_value}"),
Error::NotInWallet(outgoing_satpoint) => write!(f, "outgoing satpoint {outgoing_satpoint} not in wallet"),
Error::OutOfRange(outgoing_satpoint, maximum) => write!(f, "outgoing satpoint {outgoing_satpoint} offset higher than maximum {maximum}"),
Error::NotEnoughCardinalUtxos => write!(
f,
"wallet does not contain enough cardinal UTXOs, please add additional funds to wallet."
),
Error::UtxoContainsAdditionalInscription {
outgoing_satpoint,
inscribed_satpoint,
inscription_id,
} => write!(
f,
"cannot send {outgoing_satpoint} without also sending inscription {inscription_id} at {inscribed_satpoint}"
#45,021,889textname = "event-listener"
version = "2.5.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0206175f82b8d6bf6652ff7d71a1e27fd2e4efde587fd368662814d6ec1d9ce0"
[[package]]
name = "event-listener"
version = "4.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "770d968249b5d99410d61f5bf89057f3199a077a04d087092f58e7d10692baae"
dependencies = [
"concurrent-queue",
"parking",
"pin-project-lite",
]
[[package]]
name = "event-listener-strategy"
version = "0.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "958e4d70b6d5e81971bebec42271ec641e7ff4e170a6fa605f2b8a8b65cb97d3"
dependencies = [
"event-listener 4.0.0",
"pin-project-lite",
]
[[package]]
name = "executable-path"
version = "1.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3ebc5a6d89e3c90b84e8f33c8737933dda8f1c106b5415900b38b9d433841478"
[[package]]
name = "fastrand"
version = "1.9.0"
source = "registry+https://github.com/rust-lang/crates.io-index"#44,988,410text#!/usr/bin/env bash
set -euo pipefail
if [ ! -z ${GITHUB_ACTIONS-} ]; then
set -x
fi
help() {
cat <<'EOF'
Install a binary release of ord hosted on GitHub
USAGE:
install.sh [options]
FLAGS:
-h, --help Display this message
-f, --force Force overwriting an existing binary
OPTIONS:
--tag TAG Tag (version) of the crate to install, defaults to latest release
--to LOCATION Where to install the binary [default: ~/bin]
--target TARGET
EOF
}
crate=ord
url=https://github.com/ordinals/ord
releases=$url/releases
say() {
echo "install.sh: $*" >&2
}
err() {
if [ ! -z ${tempdir-} ]; then
rm -rf $tempdir
fi
say "error: $*"
exit 1
}
need() {
if ! command -v $1 > /dev/null 2>&1; then
err "need $1 (command not found)"
fi
}
force=false
while test $# -gt 0; do
case $1 in
--force | -f)
force=true
;;
--help | -h)
help
exit 0
;;
--tag)
tag=$2
shift
;;
--target)
target=$2
shift
;;#44,988,371text