Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
cb6bf32ebb
|
|||
|
5afb9f48f5
|
+13
-13
@@ -56,10 +56,10 @@ D("arirex.me", REG_101DOMAIN,
|
||||
TXT("_github-pages-challenge-arirexouium", "0b62c2fb7a8422145d5b5e6637257d", CF_COMMENT("GitHub Pages Verify")),
|
||||
|
||||
// OpenAlias
|
||||
openalias("xmr", "89dQNyY3E9gJGYrEeRw4EFAdezWQg7BBbHJdBpLRwrjH52ngNfAYRcEhAHQotCswGxTeSoFi5nQ7Gf86kySmXzuQE9CXjUH", {
|
||||
name: "AriRexouium",
|
||||
checksum: true,
|
||||
}),
|
||||
openalias("xmr", "89dQNyY3E9gJGYrEeRw4EFAdezWQg7BBbHJdBpLRwrjH52ngNfAYRcEhAHQotCswGxTeSoFi5nQ7Gf86kySmXzuQE9CXjUH", { name: "AriRexouium", checksum: true, }),
|
||||
openalias("btc", "3DQEYUDquSvh6DX54o2Gw1TXT9ZGWWoRTh", { name: "AriRexouium", checksum: true, }),
|
||||
openalias("eth", "0x3489c73A2F3DE6236624d43a3767f4dB8181d0c4", { name: "AriRexouium", checksum: true, }),
|
||||
openalias("ltc", "Lg6sV5PfRrBvpQoAzsyCcWMs26aq5VBssS", { name: "AriRexouium", checksum: true, }),
|
||||
);
|
||||
|
||||
D("achl.fr", REG_101DOMAIN,
|
||||
@@ -122,9 +122,9 @@ minecraft("The Furry Cult", "thefurrycult.mc", "arirex.me", 54924);
|
||||
cnames("arirex.me", rexcloud, [
|
||||
"Beszel@beszel",
|
||||
"Gitea@git",
|
||||
// "IPFS Subdomain Gateway@*.ipfs.gw",
|
||||
// "IPFS Subdomain Gateway@*.ipns.gw",
|
||||
// "IPFS Path Gateway@gw",
|
||||
"IPFS Path Gateway@gw",
|
||||
"IPFS Subdomain Gateway@*.ipfs.gw",
|
||||
"IPFS Subdomain Gateway@*.ipns.gw",
|
||||
"SearXNG@search",
|
||||
]);
|
||||
|
||||
@@ -250,12 +250,12 @@ function openalias(prefix, address, opts) {
|
||||
opts = opts || {};
|
||||
var record = "oa1:" + prefix + " recipient_address=" + address + ";";
|
||||
|
||||
if (opts.name) { record += " recipient_name=" + opts.name + ";"; }
|
||||
if (opts.description) { record += " tx_description=" + opts.description + ";"; }
|
||||
if (opts.amount) { record += " tx_amount=" + opts.amount + ";"; }
|
||||
if (opts.paymentId) { record += " tx_payment_id=" + opts.paymentId + ";"; }
|
||||
if (opts.signature) { record += " address_signature=" + opts.signature + ";"; }
|
||||
if (opts.checksum) { record += " checksum=" + crc32(record.trim()).toString(16).toUpperCase() + ";"; }
|
||||
if (typeof opts.name === "string") record += " recipient_name=" + opts.name + ";";
|
||||
if (typeof opts.description === "string") record += " tx_description=" + opts.description + ";";
|
||||
if (typeof opts.amount === "string") record += " tx_amount=" + opts.amount + ";";
|
||||
if (typeof opts.paymentId === "string") record += " tx_payment_id=" + opts.paymentId + ";";
|
||||
if (typeof opts.signature === "string") record += " address_signature=" + opts.signature + ";";
|
||||
if (opts.checksum === true) record += " checksum=" + crc32(record.trim()).toString(16).toUpperCase() + ";";
|
||||
// Checksum must be last: CRC-32 of the record trimmed of surrounding spaces.
|
||||
|
||||
return TXT("@", record, CF_COMMENT("OpenAlias > " + prefix.toUpperCase() + (opts.name ? " > " + opts.name : "")));
|
||||
|
||||
Reference in New Issue
Block a user