AFK-AlignedFamKernel / afk_monorepo

AFK: Aligned Fam Kernel - Monorepo
https://portal.afk-community.xyz
MIT License
13 stars 30 forks source link

Fix Art-peace #187

Open MSghais opened 8 hours ago

MSghais commented 8 hours ago

Description

We need to fix our Art-peace repo, that's need to correctly for on Sepolia Testnet.

Requirements to run the Art-peace part: Run PWA in /apps/pwa Run Backend Golang in /backend

Add .env in /apps/pwa: NEXT_PUBLIC_CANVAS_STARKNET_CONTRACT_ADDRESS=0x1c3e2cae24f0f167fb389a7e4c797002c4f0465db29ecf1753ed944c6ae746e

Todo

0xdevcollins commented 8 hours ago

I am applying to this issue via OnlyDust platform.

My background and how it can be leveraged

I am a full stack blockchain developer.

How I plan on tackling this issue

To fix the Art-peace repo on the Sepolia Testnet, I'll set up the environment by running the PWA and Golang backend, then add the necessary .env variables. I'll verify the contract address and ensure the account connection works for the Starknet wallet. When a pixel is clicked, I'll ensure it triggers a transaction to the contract and confirm that the pixel data is saved in Redis or the database. Finally, I'll fix the Art-peace indexer to correctly track on-chain updates for the project.

I am ready to work and will make a PR tomorrow

Gianfranco99 commented 7 hours ago

I am applying to this issue via OnlyDust platform.

My background and how it can be leveraged

I have been a developer for over 4 years and have been contributing to the Starknet ecosystem for more than a year. My recent contributions include work on cairo-lint and scaffold-starknet. I’m eager to participate in this project as I see a lot of potential in it and believe it adds valuable functionality to the Starknet ecosystem.

How I plan on tackling this issue

I would start by setting up the environment as outlined in the issue, ensuring both the PWA and backend are correctly running in Sepolia Testnet.

Add Contract and Connect Account: First, I will ensure that the correct contract is set in the PWA using the provided address, and then verify that the account connection works seamlessly by debugging the connection flow.

Handle Pixel Interaction: I will implement the logic that triggers a transaction whenever a pixel is clicked, utilizing the provided Art-peace contract address. This will involve connecting the frontend to the StarkNet wallet and creating a transaction to update the pixel data.

Pixel Persistence: After the transaction, I will verify if the pixel's data is correctly stored in the Redis/DB. If necessary, I will debug the integration with the backend services to ensure data is persistently saved.

Fix Indexer for Art-peace: Finally, I will review the indexer to ensure it's functioning correctly with the Art-peace contract and reflect any updates from the transactions made on the pixels. This will involve analyzing logs and traces to fix any issues with the current indexing mechanism.

ctangarife commented 6 hours ago

I am applying to this issue via OnlyDust platform.

My background and how it can be leveraged

Backend Developer | Automation Enthusiast

I'm a backend developer driven by a passion for continuous learning. I focus on acquiring new skills either based on project needs or out of personal curiosity. My approach is centered on providing practical solutions to processes that take up too much time. If something can be automated, I rarely do it more than twice. I enjoy creating bash scripts to speed up my workflow.

I have experience in Go, JavaScript, Python, Docker, MongoDB, and I use Git for version control to ensure seamless development.

"Laziness is the mother of automation."

How I plan on tackling this issue

The first thing I do is analyze the potential impact. Then, I review the functions involved leading up to the issue. After that, I focus on the specific function, checking the logic that might be causing the problem.