SHOWING: First 60
#70,455,341textburn#69,520,081orc-20x.grok#60,494,931textdependencies = [
"wasm-bindgen",
]
[[package]]
name = "jsonrpc"
version = "0.14.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8128f36b47411cd3f044be8c1f5cc0c9e24d1d1bfdc45f0a57897b32513053f2"
dependencies = [
"base64 0.13.1",
"serde",
"serde_json",
]
[[package]]
name = "jsonrpc-core"
version = "18.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "14f7f76aef2d054868398427f6c54943cf3d1caa9a7ec7d0c38d69df97a965eb"
dependencies = [
"futures",
"futures-executor",
"futures-util",
"log",
"serde",
"serde_derive",
"serde_json",
]
[[package]]
name = "jsonrpc-derive"
version = "18.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5b939a78fa820cdfcb7ee7484466746a7377760970f6f9c6fe19f9edcc8a38d2"
dependencies = [
"proc-macro-crate",
"proc-macro2",
"quote",
"syn 1.0.109",
]
[[package]]
name = "jsonrpc-http-server"
version = "18.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e1dea6e07251d9ce6a552abfb5d7ad6bc290a4596c8dcc3d795fae2bbdc1f3ff"
#44,988,766text"confusion around royalties, and is collectively coming to grips with the "
"reality that on-chain royalties, which were messaged to artists as an "
"advantage of NFTs, are not possible, while platforms race to the bottom and "
"remove royalty support."
msgstr ""
"Os royalties na blockchain são, na teoria, uma boa ideia; mas não na prática. "
"O pagamento de royalties não pode ser aplicado on-chain sem restrições complexas "
"e invasivas. O ecossistema de NFTs do Ethereum está atualmente lutando contra a "
"confusão em torno dos royalties e está enfrentando coletivamente a realidade que "
"os royalties on-chain, que foram transmitidos aos artistas como uma vantagem das NFTs, "
"não são possíveis, enquanto as plataformas correm para o fundo do poço e removem o "
"apoio aos royalties."
#: src/faq.md:190
msgid ""
"Inscriptions avoid this situation entirely by making no false promises of "
"supporting royalties on-chain, thus avoiding the confusion, chaos, and "
"negativity of the Ethereum NFT situation."
msgstr ""#44,988,615textuse {
super::*,
anyhow::ensure,
bitcoin::{
blockdata::{
opcodes,
script::{self, PushBytesBuf},
},
ScriptBuf,
},
brotli::enc::{writer::CompressorWriter, BrotliEncoderParams},
http::header::HeaderValue,
io::{Cursor, Read, Write},
std::str,
};
#[derive(Debug, PartialEq, Clone, Serialize, Deserialize, Eq, Default)]
pub struct Inscription {
pub body: Option<Vec<u8>>,
pub content_encoding: Option<Vec<u8>>,
pub content_type: Option<Vec<u8>>,
pub duplicate_field: bool,
pub incomplete_field: bool,
pub metadata: Option<Vec<u8>>,
pub metaprotocol: Option<Vec<u8>>,
pub parent: Option<Vec<u8>>,
pub pointer: Option<Vec<u8>>,
pub unrecognized_even_field: bool,
}
impl Inscription {
#[cfg(test)]
pub(crate) fn new(content_type: Option<Vec<u8>>, body: Option<Vec<u8>>) -> Self {
Self {
content_type,
body,
..Default::default()
}
}
pub(crate) fn from_file(
chain: Chain,
path: impl AsRef<Path>,
parent: Option<InscriptionId>,
#44,984,003text- `/blocktime`: UNIX time stamp of latest block.
Examples
--------
- `/r/blockheight`:
```json
777000
```
- `/r/blockhash/0`:
```json
"000000000019d6689c085ae165831e934ff763ae46a2a6c172b3f1b60a8ce26f"
```
- `/r/blocktime`:
```json
1700770905
```
- `/r/metadata/35b66389b44535861c44b2b18ed602997ee11db9a30d384ae89630c9fc6f011fi3`:
```json
"a2657469746c65664d656d6f727966617574686f726e79656c6c6f775f6f72645f626f74"
```
- `/r/sat/1023795949035695`:
```json
{
"ids":[
"17541f6adf6eb160d52bc6eb0a3546c7c1d2adfe607b1a3cddc72cc0619526adi0"
],
"more":false,
"page":0
}
```
- `/r/sat/1023795949035695/at/-1`:
```json
{
"id":"17541f6adf6eb160d52bc6eb0a3546c7c1d2adfe607b1a3cddc72cc0619526adi0"
}
```
- `/r/children/60bcf821240064a9c55225c4f01711b0ebbcab39aa3fafeefe4299ab158536fai0/49`:
```json
{
"ids":[
"7cd66b8e3a63dcd2fada917119830286bca0637267709d6df1ca78d98a1b4487i4900",
"7cd66b8e3a63dcd2fada917119830286bca0637267709d6df1ca78d98a1b4487i4901",
...
"7cd66b8e3a63dcd2fada917119830286bca0637267709d6df1ca78d98a1b4487i4935",
#44,982,569text "7cd66b8e3a63dcd2fada917119830286bca0637267709d6df1ca78d98a1b4487i4936"
],
"more":false,
"page":49
}
```
#44,982,007textuse {super::*, crate::wallet::Wallet};
#[derive(Serialize, Deserialize)]
pub struct Output {
pub output: OutPoint,
pub amount: u64,
}
pub(crate) fn run(options: Options) -> SubcommandResult {
let index = Index::open(&options)?;
index.update()?;
let mut outputs = Vec::new();
for (output, amount) in index.get_unspent_outputs(Wallet::load(&options)?)? {
outputs.push(Output {
output,
amount: amount.to_sat(),
});
}
Ok(Box::new(outputs))
}
#44,981,940text"inevitability of the mathematics of Bitcoin, stemming not from their modern "
"documentation, but from their ancient genesis. They are the culmination of a "
"sequence of events set in motion with the mining of the first block, so many "
"years ago."
msgstr ""
"Essas invenções independentes de Ordinals indicam de alguma forma que os Ordinals"
"foram descobertos, ou redescobertos, e não inventados. Os Ordinals são uma "
"inevitabilidade da matemática do Bitcoin, não decorrente de sua "
"documentação moderna, mas desde a sua gênese antiga. São o resultado de uma "
"sequência de eventos desencadeados com a mineração do primeiro bloco, tantos "
"anos atrás."
#: src/digital-artifacts.md:4
msgid ""
"Imagine a physical artifact. A rare coin, say, held safe for untold years in "
"the dark, secret clutch of a Viking hoard, now dug from the earth by your "
"grasping hands. It…"
msgstr ""
"Imagine um artefato físico. Uma moeda rara, digamos, mantida em segurança por incontáveis anos em "
"um esconderijo escuro e secreto de um tesouro viking, agora escavado na terra pelas suas"
#44,981,925text let mut envelopes = ParsedEnvelope::from_transaction(tx).into_iter().peekable();
let mut floating_inscriptions = Vec::new();
let mut inscribed_offsets = BTreeMap::new();
let mut total_input_value = 0;
let mut id_counter = 0;
for (input_index, tx_in) in tx.input.iter().enumerate() {
// skip subsidy since no inscriptions possible
if tx_in.previous_output.is_null() {
total_input_value += Height(self.height).subsidy();
continue;
}
// find existing inscriptions on input (transfers of inscriptions)
for (old_satpoint, inscription_id) in Index::inscriptions_on_output(
self.satpoint_to_sequence_number,
self.sequence_number_to_entry,
tx_in.previous_output,
)? {
let offset = total_input_value + old_satpoint.offset;
floating_inscriptions.push(Flotsam {
offset,
inscription_id,
origin: Origin::Old { old_satpoint },
});
inscribed_offsets
.entry(offset)
#44,981,900textmsgstr "Rede"
#: src/guides/testing.md:10
msgid "Flag"
msgstr "Bandeira"
#: src/guides/testing.md:12
msgid "Testnet"
msgstr "Testnet"
#: src/guides/testing.md:12
msgid "`--testnet` or `-t`"
msgstr "`--testnet` ou `-t`"
#: src/guides/testing.md:13
msgid "Signet"
msgstr "Signet"
#: src/guides/testing.md:13
msgid "`--signet` or `-s`"
msgstr "`--signet` o `-s`"
#: src/guides/testing.md:14
msgid "Regtest"
msgstr "Regtest"
#: src/guides/testing.md:14
msgid "`--regtest` or `-r`"
msgstr "`--regtest` o `-r`"
#: src/guides/testing.md:16
msgid "Regtest doesn't require downloading the blockchain or indexing ord."
msgstr "O Regtest não requer o download da blockchain ou da indexação do ord."
#: src/guides/testing.md:21
msgid "Run bitcoind in regtest with:"
msgstr "Execute o bitcoind em regtest com:"
#: src/guides/testing.md:22
msgid ""
"```\n"
"bitcoind -regtest -txindex\n"
"```"
msgstr ""
"```\n"
"bitcoind -regtest -txindex\n"
"```"
#: src/guides/testing.md:25
msgid "Create a wallet in regtest with:"
msgstr "Crie uma carteira em regtest com:"
#44,975,493texttransfer200,000,000,000.shid#43,322,376brc-20transfer300,000,000,000.shid#42,934,516brc-20mint100,000,000,000.shid#42,898,877brc-20mint100,000,000,000.shid#42,898,829brc-20mint100,000,000,000.shid#42,898,753brc-20mint100,000,000,000.shid#42,898,731brc-20mint100,000,000,000.shid#42,898,730brc-20神马.x#37,210,900text