Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
49 commits
Select commit Hold shift + click to select a range
7b3c0f9
+ added initial support for mnemonic seedphrases for one-time use
Apr 3, 2023
02ebf82
+ added initial support for mnemonic seedphrases for one-time use
Apr 3, 2023
937a354
+ added brc20 transfer support
Apr 3, 2023
9e6b020
+ added brc20 transfer support
Apr 3, 2023
f6a59df
+ removed "to" as it is not required in brc20 transfer
Apr 3, 2023
21a8f26
+ changed transfer padding to 5k
Apr 4, 2023
997a73a
+ temporarily removed the 25 batch size limit
Apr 4, 2023
cd26ee2
- removed all bootstrap leftovers
Apr 7, 2023
04e2125
+ added discord and LOOT links
Apr 7, 2023
17d7ea1
+ added plain text support
Apr 8, 2023
d047f34
+ added repeating for text inscriptions
Apr 8, 2023
1715d89
+ added optional developer tipping
Apr 8, 2023
b1d097e
+ added optional developer tipping
Apr 8, 2023
b8f42bf
- removed the fee optimization again as it screws low sized inscriptions
Apr 8, 2023
7e41a17
+ raised the minimum tipping to 500 to not run into dust/relay fee is…
Apr 8, 2023
62b3bf1
+ also excluding the funding transactions from CPFP now
Apr 8, 2023
d973500
+ adjusted the options in the end a little and added some emojis
Apr 9, 2023
33e4c7f
+ adjusted "logo"
Apr 9, 2023
1b6d4f4
+ adjusted the title for looksordinal
Apr 9, 2023
37d74ea
+ fixed a bug where the tipping minimum was enforced
Apr 9, 2023
d994647
+ added fee estimation button on page 1, before the funding address a…
Apr 9, 2023
dc8cdad
+ added a "boost" for the funding tx, still a lot cheaper than the co…
Apr 9, 2023
89ba75f
+ added a "boost" for the funding tx, still a lot cheaper than the co…
Apr 9, 2023
031fa7f
+ added .unisat domain support
Apr 10, 2023
cf7b834
+ added better domain validation
Apr 10, 2023
56b2772
+ added better domain validation
Apr 10, 2023
6210f04
+ added faster .unisat availability check (existence.php)
Apr 11, 2023
2808a73
+ added unisat domain name fallback to simple text search if either e…
Apr 11, 2023
3634426
+ added isset() check on text parameter and exit if not set
Apr 11, 2023
444462b
+ added isset() check on text parameter and exit if not set
Apr 11, 2023
39caa63
+ organized javascript structure into lib and app and removed all inl…
Apr 13, 2023
ef21c47
+ added plugin system for special/temporary inscriptions
Apr 15, 2023
70f2914
- removed js libraries that aren't necessary in universe.html
Apr 15, 2023
2dde4bb
+ added bulk looting
Apr 15, 2023
6e444ad
+ added support for inscribing directly from ethereum erc721 contracts
Apr 16, 2023
9eecc0b
+ added support for byte-perfect solana inscriptions
Apr 18, 2023
13d2025
+ added temporary .sats resolver browser extension
Apr 22, 2023
1ef4a56
+ added temporary .sats resolver browser extension
Apr 23, 2023
be3455f
+ added bulk brc20 transfers
Apr 24, 2023
b7aba06
+ fixed a couple of minor issues
Apr 26, 2023
c201c67
+ fixed an issue with invalid schnorr signatures and immature output …
Apr 28, 2023
20650dc
+ fixed an issue with invalid schnorr signatures and immature output …
Apr 28, 2023
5d01fd3
+ fixed an issue with invalid schnorr signatures and immature output …
Apr 29, 2023
f6c4393
+ upgraded to tapscript 1.2.7
May 2, 2023
445cd10
+ removed the 100 batch limit
May 2, 2023
03b7b08
+ updated readme
May 3, 2023
1a14847
+ updated readme
May 3, 2023
88fd679
+ added orc20 support
May 4, 2023
944f03b
+ added orc20 support
May 4, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 7 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# Inscriptions online
An online interface for creating inscriptions
# looks◉rdinal

# How to try it
A self-custodial inscription tool.

https://inscribetheplanet.com/
To make sure you are always using the latest and most stable version, please use the tool on https://looksordinal.com.

This tool is rapidly and consistently updated. Join our Discord: https://discord.gg/Ur8XGaurSd

looks◉rdinal is a fork of https://inscribetheplanet.com/
32 changes: 32 additions & 0 deletions api/existence.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
<?php
header('Access-Control-Allow-Origin: *');

if(!isset($_GET['text']))
{
echo 'error';
exit;
}

$url = "https://unisat.io/brc20-api/inscriptions/category/unisat/existence";

$curl = curl_init();
curl_setopt($curl, CURLOPT_URL, $url);
curl_setopt($curl, CURLOPT_HTTPHEADER, array('Accept: application/json', 'Content-Type: application/json'));
curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);

$name = json_encode($_GET['text']);

$data = '{"names":['.$name.']}';

curl_setopt($curl, CURLOPT_POSTFIELDS, $data);

$resp = curl_exec($curl);

if($resp === false)
{
echo 'error';
}

curl_close($curl);

echo $resp;
39 changes: 39 additions & 0 deletions api/sats.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
<?php
header('Access-Control-Allow-Origin: *');

if(!isset($_GET['q']))
{
echo 'error';
exit;
}

$url = "https://unisat.io/_next/data/FJqw_KN_hpI4xI4tITJV9/search.json?q=".$_GET['q']."&type=sats&p=1";

$curl = curl_init();
curl_setopt($curl, CURLOPT_URL, $url);
curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
$resp = curl_exec($curl);

if($resp === false)
{
echo 'error';
curl_close($curl);
exit;
}

curl_close($curl);

$json = json_decode($resp);
$json = $json->pageProps;
$length = count($json->results);

for($i = 0; $i < $length; $i++)
{
if($json->results[$i]->inscriptionIndex == 0)
{
$json = $json->results[$i];
break;
}
}

echo json_encode($json);
91 changes: 91 additions & 0 deletions bridge.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, user-scalable=no"/>
<link rel="shortcut icon" type="image/png" href="favicon.png">
<link rel="preconnect" href="https://fonts.googleapis.com">
<title>LooksOrdinal | ord/eth bridge</title>
<link rel="stylesheet" href="css/styles.1.0.1.css">
<script src="js/lib/jquery.3.6.4.js"></script>
<script src="js/lib/socket.io.4.4.1.js"></script>
<script src="js/lib/web3.min.js"></script>
</head>
<body>

<nav>
<ul>
<li id="logo"><a href="index.html">looks◉rdinal &gt;&gt;</a></li>
<li><a href="index.html">inscribe</a></li>
<li>|</li>
<li class="active">brc20 trading</li>
<li>|</li>
<li><a href="universe.html">$univ</a></li>
</ul>
</nav>

<div class="app-wrapper">

<h1>Ord/Eth Bridge</h1>
<h6 style="margin-top: -15px;">
Bridge Bitcoin Ordinals to Ethereum NFTs and back again. See <a href="https://opensea.io/collection/ordinals-bridge" target="_blank">Collection on OpenSea</a>. Join our <a href="https://discord.gg/Ur8XGaurSd" target="_blank">Discord</a>.
</h6>

<p style="margin-bottom: 30px;margin-top: -30px;">
Our bridge now supports BRC-20 tokens. Follow <a href="https://medium.com/@rarity.garden/how-to-buy-and-sell-bitcoin-brc-20-tokens-on-ethereum-8177dbf50333" target="_blank">this guide</a> on how to buy &amp; sell as well as bridge and return.
</p>

<button style="display: none;" className="btn btn-primary" id="rn-connect-metamask">CONNECT WALLET</button>

<div id="message-main" style="display: none;"></div>

<h3>&gt;&gt; Bridge Ordinal to Ethereum</h3>
<div>
<div>
<div id="message-bridge" style="display: none;"></div>
<input id="bridge-field" type="text" placeholder="Enter Inscription ID (not number)"/>
<div id="fee-info" style="display: none;font-size: 16px;">
Recommended fee:
<span class="fee" style="font-size: 16px;"></span> sat/vB
</div>
</div>

<div style="font-size: 14px; margin-bottom: 15px;color:gray;">You need to be connected with your Ethereum
wallet in order to bridge your Ordinal. Once bridged, you will be able to mint its corresponding NFT.
</div>
<div>
<button id="bridge">Bridge</button> <span style="display: none;" class="loading dots">.</span>
</div>
<div id="mint-jobs"></div>
</div>

<h3>&gt;&gt; Return Ordinal</h3>
<div>
<div>
<div id="message-return" style="display: none;"></div>
<input id="return-field" type="text" placeholder="Enter Inscription ID (not number)"/>
</div>
<div style="font-size: 14px; margin-bottom: 15px;color:gray;">You need to be in possession of the bridged NFT and connected with your Ethereum
wallet in order to return your Ordinal.
</div>
<div>
<button id="return">Return</button>
</div>

<div id="vault-list" style="max-height: 200px; overflow: auto;"></div>
<div id="message-vault" style="display: none;"></div>
</div>

<ul class="list-group" id="latest-bridged"></ul>

</div>

<script src="js/app/app-config.1.0.8.js"></script>
<script src="js/app/bridge/connectwallet.1.0.3.js"></script>
<script src="js/app/bridge/tools.1.0.0.js"></script>
<script src="js/app/bridge/ordinalsBridgeABI.js"></script>
<script src="js/app/bridge/ordinal_bridge.1.0.1.js"></script>


</body>
</html>
Loading