• Menu
  • Home
  • Mint
  • Earn
  • History

Bitcoin address: bc1pkxzvf8y3pxhkpex30rz0k2f4rnxrnhpqyzjrw8rffl09zap8ekjs9fnv6y

SHOWING: First 60

#[test] fn unknown_preview() { let server = TestServer::new_with_regtest(); server.mine_blocks(1); let txid = server.bitcoin_rpc_server.broadcast_tx(TransactionTemplate { inputs: &[(1, 0, 0, inscription("text/foo", "hello").to_witness())], ..Default::default() }); server.mine_blocks(1); server.assert_response_csp( format!("/preview/{}", InscriptionId { txid, index: 0 }), StatusCode::OK, "default-src 'self'", fs::read_to_string("templates/preview-unknown.html").unwrap(), ); } #[test] fn video_preview() { let server = TestServer::new_with_regtest(); server.mine_blocks(1); let txid = server.bitcoin_rpc_server.broadcast_tx(TransactionTemplate { inputs: &[(1, 0, 0, inscription("video/webm", "hello").to_witness())], ..Default::default() }); let inscription_id = InscriptionId { txid, index: 0 }; server.mine_blocks(1); server.assert_response_regex( format!("/preview/{inscription_id}"), StatusCode::OK,#60,468,379text$LUCK = gen wealth#52,155,022text{   "p": "cxrc20",   "op": "mint",   "tick": "X",   "amt": "1000" }#52,015,317textmint21,000.btc#51,440,350bitcoinmint21,000.btc#51,439,885bitcoinmint21,000.btc#51,431,633bitcoinmint21,000.btc#51,431,429bitcoinmint1,000.btc#51,425,969bitcoin
2023 © EasyMint.app - All Rights Reserved
TermsPrivacy Policy