Spaces:
Sleeping
Sleeping
Commit
·
bc488e8
1
Parent(s):
cfb38a1
Add application file
Browse files- data/.DS_Store +0 -0
- data/eths_data.db +0 -0
- data/ethscriptions_data.db +2 -2
- pages/1_🔍_批量查询铭文状态.py +3 -3
- pages/7_ℹ️️_关于 EthPen.com.py +1 -1
- 🖊️EthPen-以太之笔.py +1 -1
data/.DS_Store
CHANGED
|
Binary files a/data/.DS_Store and b/data/.DS_Store differ
|
|
|
data/eths_data.db
CHANGED
|
Binary files a/data/eths_data.db and b/data/eths_data.db differ
|
|
|
data/ethscriptions_data.db
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9d9c84daef613686606ab8cbe89a128ed4be4be90d417bfb247be96d44cbd27d
|
| 3 |
+
size 400863232
|
pages/1_🔍_批量查询铭文状态.py
CHANGED
|
@@ -223,14 +223,14 @@ if st.button('🔎 查询', key='🔎 查询'):
|
|
| 223 |
row = ethscriptions_cursor.fetchone()
|
| 224 |
if hide_inscribed:
|
| 225 |
if not row:
|
| 226 |
-
result.append({"铭文": names[index], "状态": "未题写", "十六进制数据": all_items[index]})
|
| 227 |
name_not_yet_total += 1
|
| 228 |
show_unwritten_list.append(names[index])
|
| 229 |
else:
|
| 230 |
if row:
|
| 231 |
-
result.append({"铭文": names[index], "状态": "已题写", "十六进制数据": all_items[index]})
|
| 232 |
else:
|
| 233 |
-
result.append({"铭文": names[index], "状态": "未题写", "十六进制数据": all_items[index]})
|
| 234 |
name_not_yet_total += 1
|
| 235 |
show_unwritten_list.append(names[index])
|
| 236 |
st.progress(1 - (name_not_yet_total / names_total), f'题写进度 {names_total - name_not_yet_total}/{names_total} ({(1 - (name_not_yet_total / names_total)) * 100:.0f}%):')
|
|
|
|
| 223 |
row = ethscriptions_cursor.fetchone()
|
| 224 |
if hide_inscribed:
|
| 225 |
if not row:
|
| 226 |
+
result.append({"铭文": names[index], "状态": "未题写", "十六进制数据": all_items[index][2:]})
|
| 227 |
name_not_yet_total += 1
|
| 228 |
show_unwritten_list.append(names[index])
|
| 229 |
else:
|
| 230 |
if row:
|
| 231 |
+
result.append({"铭文": names[index], "状态": "已题写", "十六进制数据": all_items[index][2:]})
|
| 232 |
else:
|
| 233 |
+
result.append({"铭文": names[index], "状态": "未题写", "十六进制数据": all_items[index][2:]})
|
| 234 |
name_not_yet_total += 1
|
| 235 |
show_unwritten_list.append(names[index])
|
| 236 |
st.progress(1 - (name_not_yet_total / names_total), f'题写进度 {names_total - name_not_yet_total}/{names_total} ({(1 - (name_not_yet_total / names_total)) * 100:.0f}%):')
|
pages/7_ℹ️️_关于 EthPen.com.py
CHANGED
|
@@ -40,7 +40,7 @@ st.markdown(
|
|
| 40 |
unsafe_allow_html=True)
|
| 41 |
st.markdown(r'## :rainbow[EthPen 题写铭文的好帮手!]')
|
| 42 |
st.markdown('')
|
| 43 |
-
st.markdown('
|
| 44 |
|
| 45 |
st.markdown(f'''{my_style}<span class="tag"><a href="https://twitter.com/pztuya" target="_blank" style="text-decoration: none;"><img src="data:image/svg+xml;base64,{image_to_base64(os.path.join("img", "x.svg"))}" alt="Image" width="20px" height="20px" style="border-radius: 3px;" /> @pztuya</span></a>
|
| 46 |
<span class="tag"><a href="https://t.me/NervosCKB" target="_blank" style="text-decoration: none;"><img src="data:image/svg+xml;base64,{image_to_base64(os.path.join("img", "telegram.svg"))}" alt="Image" width="20px" height="20px" style="border-radius: 3px;" /> @NervosCKB</span></a>
|
|
|
|
| 40 |
unsafe_allow_html=True)
|
| 41 |
st.markdown(r'## :rainbow[EthPen 题写铭文的好帮手!]')
|
| 42 |
st.markdown('')
|
| 43 |
+
st.markdown('顺便提一句,我是 pztuya。这个网站的所有内容都是我一手打造的。由于能力和时间所限,内容更新的速度可能较慢,希望您能理解。谢谢您的支持与耐心 😊~')
|
| 44 |
|
| 45 |
st.markdown(f'''{my_style}<span class="tag"><a href="https://twitter.com/pztuya" target="_blank" style="text-decoration: none;"><img src="data:image/svg+xml;base64,{image_to_base64(os.path.join("img", "x.svg"))}" alt="Image" width="20px" height="20px" style="border-radius: 3px;" /> @pztuya</span></a>
|
| 46 |
<span class="tag"><a href="https://t.me/NervosCKB" target="_blank" style="text-decoration: none;"><img src="data:image/svg+xml;base64,{image_to_base64(os.path.join("img", "telegram.svg"))}" alt="Image" width="20px" height="20px" style="border-radius: 3px;" /> @NervosCKB</span></a>
|
🖊️EthPen-以太之笔.py
CHANGED
|
@@ -287,7 +287,7 @@ if st.button('转换', key='文本转换到十六进制形式'):
|
|
| 287 |
else:
|
| 288 |
|
| 289 |
st.markdown(f'😄 :green[{input_ethscriptions_str}] 还没被题写!快复制下方文本前去题写吧。')
|
| 290 |
-
st.code(input_ethscriptions_hex, line_numbers=False)
|
| 291 |
|
| 292 |
st.markdown(f'好,让我们发送一笔交易吧,这笔交易是自己给自己发送 0ETH 的交易。', unsafe_allow_html=True)
|
| 293 |
st.markdown(f'1. 点击发送 <span class="tag"><img src="data:image/svg+xml;base64,{image_to_base64(os.path.join("img", "send.svg"))}" alt="Image" width="20px" height="20px" style="border-radius: 3px;" /> 发送交易</span>;', unsafe_allow_html=True)
|
|
|
|
| 287 |
else:
|
| 288 |
|
| 289 |
st.markdown(f'😄 :green[{input_ethscriptions_str}] 还没被题写!快复制下方文本前去题写吧。')
|
| 290 |
+
st.code(input_ethscriptions_hex[2:], line_numbers=False)
|
| 291 |
|
| 292 |
st.markdown(f'好,让我们发送一笔交易吧,这笔交易是自己给自己发送 0ETH 的交易。', unsafe_allow_html=True)
|
| 293 |
st.markdown(f'1. 点击发送 <span class="tag"><img src="data:image/svg+xml;base64,{image_to_base64(os.path.join("img", "send.svg"))}" alt="Image" width="20px" height="20px" style="border-radius: 3px;" /> 发送交易</span>;', unsafe_allow_html=True)
|