diff --git a/examples/use_case_arweave.ipynb b/examples/use_case_arweave.ipynb index 1908a58..73be61a 100644 --- a/examples/use_case_arweave.ipynb +++ b/examples/use_case_arweave.ipynb @@ -280,7 +280,7 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "# you can also check this new downloaded table in https://scan.mindnetwork.xyz/account/myData" + "you can also check this new downloaded table in https://scan.mindnetwork.xyz/account/myData" ] }, { @@ -385,14 +385,18 @@ "output_type": "stream", "text": [ "test_table_encrypted.csv has been saved to Arweave.\n", - "The Arweave ID is: NNgcwmyBsB0F6sJGbEBcNxor7-i_5PF5LxcC2yOmFkU\n", - "You can check on Arweave: https://viewblock.io/arweave/tx/NNgcwmyBsB0F6sJGbEBcNxor7-i_5PF5LxcC2yOmFkU\n", - "And the content on Arweave: https://arseed.web3infra.dev/NNgcwmyBsB0F6sJGbEBcNxor7-i_5PF5LxcC2yOmFkU\n", + "\n", + "The Arweave ID is: OXVF56-SsxPNZ9_Zy5BTnjWPaMoWdq_OpwCiOg811-U \n", + "\n", + "You can check on Arweave: https://viewblock.io/arweave/tx/OXVF56-SsxPNZ9_Zy5BTnjWPaMoWdq_OpwCiOg811-U\n", + "\n", + "And the content on Arweave: https://arseed.web3infra.dev/OXVF56-SsxPNZ9_Zy5BTnjWPaMoWdq_OpwCiOg811-U\n", + "\n", "The content is:\n", "uid,wallet_address,register_date\n", - "123,\\xc5c23a94d68b6159e0db4abfc83caa14012fdd2349e22a50b7800fa8a9da7c0dadcffc5a91ecc1b264922678a1aff26ce31a33b59ee0ca5236e5ddbae7aa15471b,\\x62caa32d48c0d9e1c9411010de2eee60000ddbae901808bddbac1c54abb468d7ba\n", - "124,\\x09b0a3fc52a0c0932e61b1c8c56b0bf7ee2af9e88e32b0663af2e03f50cbf65aee203a3df8ea5b15911cc629653ee70239e0c7f64fb4ebc7fc34f239ecc13736e5,\\xaa53d8fad9156a1f54fffd7c329b871484962b59777bddbe970d5bfee00b344ed3\n", - "125,\\x461ec6dc1cdf0edfaa1f44bfeeebd2bea56600b1d0f406dc5d5b781894a9511ef2108d1cf7cbb1117ca6027715beb60076a03920308855208f0d235c70d751cf74,\\xa3bc165c1a5e6938b3e0596b87822ddbcc4c671292313c08963a05bfd1f6579147\n", + "123,\\x9ffdb6fa20d5e41952032a372d1b749750bb2c2b76de5fdd3c56fe377fe8e18e4b1958c1fbe109e2e712779e015955e9d3abf06843b2634bed682df38e992d8c34,\\x0a20c65664374908163db53cfedfea5613adc2164872e4590659f8f9da3f5d108c\n", + "124,\\xd60d24a0753996459f06cc86e23e1041049e7214af09e8684863760567026a0191241d018e81a9423ee47c5244a256784d09ea9429ac65334b98afa964e388f8a8,\\x743ea93bff0c3797e6b336e9e10c215344fcf0289d2d2b19eb7608a90b56417e22\n", + "125,\\x660a17798b68370adf43812181df6bc5ebaa969c8d9439a322e37dc111f9f2018425d41ca83cf2251a57af2f58adcee68dbfdaf5e5307807f112cef9a3014a858a,\\x1c3bed52fd032aea9b1990ed80007bce85167ec7fb2d50214dc7b0d13343b1a56e\n", "\n" ] } @@ -401,13 +405,13 @@ "# make sure you have arweave_wallet.json \n", "result = dataPack2.saveToArweave('test_table_encrypted.csv', 'AR', './arweave_wallet.json')\n", "assert result, result.message\n", - "print(\"test_table_encrypted.csv has been saved to Arweave.\")\n", + "print(\"test_table_encrypted.csv has been saved to Arweave.\\n\")\n", "itemID = result.data\n", - "print(\"The Arweave ID is:\", itemID)\n", + "print(\"The Arweave ID is:\", itemID, '\\n')\n", "arweave_explore_url = \"https://viewblock.io/arweave/tx/%s\"%(itemID)\n", "arweave_file_url = \"https://arseed.web3infra.dev/%s\"%(itemID)\n", - "print(\"You can check on Arweave:\", arweave_explore_url)\n", - "print(\"And the content on Arweave:\", arweave_file_url)\n", + "print(f\"You can check on Arweave: {arweave_explore_url}\\n\")\n", + "print(f\"And the content on Arweave: {arweave_file_url}\\n\")\n", "import requests\n", "content = requests.get(arweave_file_url).text\n", "print(\"The content is:\")\n", @@ -555,20 +559,20 @@ " \n", " 0\n", " 123\n", - " \\xbccbf2b5f37fa48a28cb629cdef5ce3a55485aaa1135...\n", - " \\x92c68f85c32aaab96f93775287b998a263dd9ae413d9...\n", + " \\xf172db5115f65c2398b861ac2d0464d028c74858314a...\n", + " \\x7b3c1b5b94124f53257126d13a2d6e8db6545979c652...\n", " \n", " \n", " 1\n", " 124\n", - " \\x1772d0b504ceff425734fb9c0453466b2b0475de66d6...\n", - " \\x591346e00096feb0823f3a5ce45d39fc2c0177a370ef...\n", + " \\x1990e23c35acfa7257b91a92e9c10bc985727f5bef5f...\n", + " \\x344cdab6ad9ba1b781c013cc849ba43c5d78f8d36df0...\n", " \n", " \n", " 2\n", " 125\n", - " \\xc1d0276b43e14c9e912d0def9e7fbe4b2843650bc449...\n", - " \\xe4090c2c346ab00d0923e8897a7f4b61a076112e7a3e...\n", + " \\xd2ba460636b46db5091d73db1700991c165622e972c5...\n", + " \\x1ef347e400cb6f3a6d763f57e93c772d0ae8c3704b77...\n", " \n", " \n", "\n", @@ -576,14 +580,14 @@ ], "text/plain": [ " uid wallet_address \\\n", - "0 123 \\xbccbf2b5f37fa48a28cb629cdef5ce3a55485aaa1135... \n", - "1 124 \\x1772d0b504ceff425734fb9c0453466b2b0475de66d6... \n", - "2 125 \\xc1d0276b43e14c9e912d0def9e7fbe4b2843650bc449... \n", + "0 123 \\xf172db5115f65c2398b861ac2d0464d028c74858314a... \n", + "1 124 \\x1990e23c35acfa7257b91a92e9c10bc985727f5bef5f... \n", + "2 125 \\xd2ba460636b46db5091d73db1700991c165622e972c5... \n", "\n", " register_date \n", - "0 \\x92c68f85c32aaab96f93775287b998a263dd9ae413d9... \n", - "1 \\x591346e00096feb0823f3a5ce45d39fc2c0177a370ef... \n", - "2 \\xe4090c2c346ab00d0923e8897a7f4b61a076112e7a3e... " + "0 \\x7b3c1b5b94124f53257126d13a2d6e8db6545979c652... \n", + "1 \\x344cdab6ad9ba1b781c013cc849ba43c5d78f8d36df0... \n", + "2 \\x1ef347e400cb6f3a6d763f57e93c772d0ae8c3704b77... " ] }, "execution_count": 10,