File size: 2,456 Bytes
aeb0cd5
 
 
 
ab69122
 
aeb0cd5
 
 
ab69122
aeb0cd5
 
ab69122
 
 
 
 
aeb0cd5
 
ab69122
 
 
aeb0cd5
ab69122
 
 
aeb0cd5
ab69122
 
 
aeb0cd5
 
ab69122
aeb0cd5
ab69122
 
 
aeb0cd5
 
ab69122
 
 
 
 
 
 
 
aeb0cd5
ab69122
 
 
 
aeb0cd5
ab69122
 
aeb0cd5
ab69122
 
 
 
aeb0cd5
 
 
ab69122
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
import streamlit as st

# App Configuration
st.set_page_config(
    page_title="Crypto for All",
    page_icon="🌐",
    layout="wide"
)

# Sidebar: Features and Navigation
st.sidebar.title("Features")
st.sidebar.markdown("""
- **Crypto Basics**: Learn blockchain, wallets, and decentralized finance.  
- **Safety First**: Tips to identify scams and secure assets.  
- **Simulated Wallet**: Practice creating and using a digital wallet.  
- **Real-Time Support**: Get instant help from an AI chatbot.  
- **Community Space**: Collaborate and share knowledge.  
""")

# App Header
st.title("Crypto for All 🌍")
st.subheader("Making cryptocurrency safe, trustworthy, and accessible to everyone.")

# Main Sections
st.markdown("### 1️⃣ **Learn About Cryptocurrency**")
if st.checkbox("What is Cryptocurrency?"):
    st.markdown("""
    - Cryptocurrency is a digital or virtual currency secured by cryptography.
    - It operates on decentralized networks, such as blockchain.
    - Popular examples include Bitcoin, Ethereum, and Litecoin.
    """)

if st.checkbox("How Do Digital Wallets Work?"):
    st.markdown("""
    - A digital wallet stores your private and public keys.
    - It allows you to send and receive cryptocurrency securely.
    - Always use trusted wallets and back up your keys.
    """)

st.markdown("### 2️⃣ **Safety and Security**")
st.markdown("#### Protect Yourself in the Crypto World")
st.info("**Tips to Stay Safe**")
st.write("""
- Use strong, unique passwords for your wallets.  
- Be cautious of unsolicited messages offering 'investment opportunities.'  
- Always double-check wallet addresses before sending funds.  
""")

st.markdown("### 3️⃣ **Simulated Wallet**")
st.text_input("Enter a Wallet Name:", placeholder="E.g., MySecureWallet")
if st.button("Create Mock Wallet"):
    st.success("🎉 Wallet created successfully! Explore safely before going live.")

st.markdown("### 4️⃣ **Ask Questions in Real-Time**")
st.text_area("Type your question here:", placeholder="E.g., What is blockchain?")
if st.button("Submit Question"):
    st.success("Your question has been submitted. Our AI chatbot will assist you shortly.")

st.markdown("### 5️⃣ **Community Space**")
st.write("Join discussions, share knowledge, and connect with experts on our [Community Forum](#).")

# Footer
st.markdown("---")
st.caption("🌟 **This is a demo app showcasing how to make cryptocurrency accessible and secure.**")