Skip to content

Commit

Permalink
Previous small fixes and first part of zklend documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Kostya-59benz committed Dec 21, 2024
1 parent a0c6931 commit 833c6b0
Show file tree
Hide file tree
Showing 4 changed files with 84 additions and 10 deletions.
2 changes: 1 addition & 1 deletion docker-compose.back.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@

version: '3.8'

networks:
app_network:
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.dev.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@

version: '3.8'

networks:
app_network:
Expand Down
39 changes: 36 additions & 3 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@

version: '3.8'

networks:
app_network:
Expand All @@ -21,6 +21,8 @@ services:
- app_network
backend:
build: .
command:
- bash /app/entrypoint.sh
restart: always
volumes:
- ./entrypoint.sh:/app/entrypoint.sh
Expand All @@ -34,7 +36,7 @@ services:
- app_network

db:
image: postgres:14
image: postgres:16
container_name: postgres
restart: always
environment:
Expand All @@ -53,5 +55,36 @@ services:
timeout: 5s
retries: 5

celery:
build: .
command: celery -A spotnet_tracker.celery_config worker --loglevel=INFO
volumes:
- .:/app
depends_on:
- redis
networks:
- app_network

celery_beat:
build: .
command: celery -A spotnet_tracker.celery_config beat --loglevel=INFO
volumes:
- .:/app
depends_on:
- redis
networks:
- app_network

redis:
image: redis:latest
restart: always
ports:
- "6379:6379"
volumes:
- redis_data:/data
networks:
- app_network

volumes:
postgres_data:
postgres_data:
redis_data:
51 changes: 46 additions & 5 deletions frontend/src/pages/spotnet/documentation/Documentation.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ const Documentation = () => {
},
{ title: 'How it performs', link: '#how-it-performs' },
{ title: 'Getting Started', link: '#getting-started' },
{ title: 'The Hub And Zones', link: '#hub-1' },
{ title: 'The Hub And Zones', link: '#hub-2' },
{ title: 'ZkLend', link: '#zk-lend' },
{ title: 'The Hub And Zones', link: '#powered-by-starknet' },
{ title: 'The Hub And Zones', link: '#hub-3' },
{ title: 'The Hub And Zones', link: '#hub-4' },
{ title: 'The Hub And Zones', link: '#hub-5' }
Expand All @@ -40,7 +40,7 @@ const Documentation = () => {
{
type: 'text',
value:
'Welcome to zkLend Documentation\nzkLend is a decentralized platform designed to [describe purpose, e.g., "empower users to securely manage digital assets and access DeFi tools effortlessly"]. This documentation provides a comprehensive guide on using SpotNet and making the most of its features.',
'Welcome to spotnet Documentation\nspotnet is a decentralized platform designed to [describe purpose, e.g., "empower users to securely manage digital assets and access DeFi tools effortlessly"]. This documentation provides a comprehensive guide on using SpotNet and making the most of its features.',
},
],
},
Expand Down Expand Up @@ -112,7 +112,48 @@ const Documentation = () => {

],
},

{
id: 'zk-lend',
title: 'Zklend Overview - Powering Your DeFi Journey with Security and Simplicity',
content: [
{
type: 'text',
value: 'Introducing zkLend',
},
{
type: 'text',
value: "Money markets have been a crucial component of financial systems since the Middle Ages, providing short-term funding and liquidity to banks, governments, and corporations. Today, money markets facilitate an estimated $3.2 trillion in daily transactions in the global financial system, making them critical for short-term funding needs. In the context of DeFi, money markets play an essential role in activities such as lending, borrowing, and liquidity provision. At zkLend, our goal is to create a simple, secure, and efficient platform for your liquidity needs. We've built a permissionless lending market where anyone can deposit and borrow digital assets directly from their wallets, at any time. When you deposit assets, you earn interest from borrowers using your funds. You can also use your deposited assets as collateral to borrow other digital assets.",
},

{
type: 'text',
value: "Our Alpha version is now available on the mainnet. Rest assured, we've fully audited the platform with reputable firms like ABDK and Nethermind, and the contracts have been formally specified since April 2023."
},

{
type: 'text',
value: "With a focus on safety, ease of use, and cutting-edge blockchain technology, we’re confident that zkLend is on its way to becoming a leading platform in the DeFi space. Join us and experience the future of decentralized finance!"
},


],
},

{
id: 'powered-by-starknet',
title: 'Powered by Starknet',
content: [
{
type: 'text',
value: "At zkLend, we believe zk-rollups are the key to unlocking Ethereum's full potential. By using Starknet's Layer 2 (L2) solution, we’re able to bring the speed and efficiency of zk-rollups together with the security and decentralization that Ethereum is known for. Starknet is one of the first zk-rollup platforms designed for general use. It offers fast transactions, low fees, and cutting-edge blockchain features that far exceed the capabilities of traditional networks. Key innovations like account abstraction, trustless bridging, parallel processing, and advanced proof techniques make Starknet stand out.",
},

{
type: 'text',
value: "With the strong track record of StarkWare and the team behind successful projects like ZCash and StarkEx, Starknet is the perfect platform to power zkLend and ensure we stay ahead of the curve. We're excited to be part of this groundbreaking technology!.",
},
],
},
{
id: 'getting-started',
title: 'Getting Started',
Expand All @@ -138,7 +179,7 @@ const Documentation = () => {
<TableOfContents tabelTitle={"Table Of Content"} defaultActiveId={"introduction"} headerHeight={80} items={tableOfContents} />

<div className="main-content">
<h1 className="main-title">Spot Documentation</h1>
<h1 className="main-title">Spotnet Documentation</h1>
<Sections sections={sectionsData} />
</div>

Expand Down

0 comments on commit 833c6b0

Please sign in to comment.