diff --git a/src/components/uploadTorrentComp.vue b/src/components/uploadTorrentComp.vue index bd4fbc0..e9a0854 100644 --- a/src/components/uploadTorrentComp.vue +++ b/src/components/uploadTorrentComp.vue @@ -49,8 +49,9 @@ v-if="walletConnected" @click="submitTransaction" > - Submit Transaction ✅ + Submit Transaction ✨
+
Connect Arconnect to submit torrents 💵
{{ txInfo }}
@@ -96,7 +97,7 @@ export default { this.txInfo = status; } else { this.txInfoRequired = true; - this.txInfo = "Invalid Magnet link"; + this.txInfo = "Invalid Magnet link ❌"; } } else { console.log("Failure"); @@ -188,6 +189,11 @@ export default { cursor: pointer; margin-right: 10px; } + +.connectWallet{ + color: green; +} + .uploadButton { display: block; margin: 0 auto; diff --git a/src/composables/arweaveFunctions.js b/src/composables/arweaveFunctions.js index acd44e3..7cec792 100644 --- a/src/composables/arweaveFunctions.js +++ b/src/composables/arweaveFunctions.js @@ -132,7 +132,7 @@ export async function generateTx(magnetLink, contentTitle, contentType) { } catch (error) { console.log(error) - return "TX signature failed" + return "TX signature failed ❌" } try { @@ -140,10 +140,10 @@ export async function generateTx(magnetLink, contentTitle, contentType) { console.log(submittedTransaction); } catch (error) { console.log(error) - return "TX post failed" + return "TX post failed ❌" } - return "TX success" + return "TX success ✅" } @@ -155,7 +155,7 @@ export async function searchTx(searchPhrase) { namesArray = JSON.stringify(namesArray) let query = `query { - transactions( + transactions(first:20 tags: [ { name: "Arr", values: [""] } { name: "name", values: `+ namesArray + ` }