BUIDL-Weekly: 06FEB23 - 12FEB23

Dev Update

BUIDL-Weekly: 06FEB23 - 12FEB23

Welcome to another weekly wrap-up, Spartans! Thanks to all the community contributors and friends who helped Buidl, promote and support during the week! Read on for the update

BUIDL-Weekly: 06FEB23 - 12FEB23

RAVEN Liquidity Caps

The $RAVEN pool saw a large increase in swap demand & TVL during the week, exceeding its caps, leading to them increasing from 600K to 1M $SPARTA

Spartan Themed PoA NFT - Week 11 Bonus!

Remember to redeem this final bonus PoA NFT, provided complimentary by Thespis! Big thanks to Thespis for making this PoA campaign happen for us, make sure to reach out in the channels and thank him. And if you missed any PoAs don't fret, you can still go back to the older blog posts and claim the previous PoAs!


Community Mentions

CoinMarketLeague

Remember to cast your vote for SPARTA every day, Spartans!


Weekly Community Call / Hangout

Be sure to tune into the Telegram channel weekly with @ReidyPhillip to stay informed about the project and the broader ecosystem. Join in the conversation and share your ideas and questions!

The Telegram chat is held every Wednesday at around 11:00 UTC, but this may vary based on community input and availability. Please check the Telegram channel on Tuesday or Wednesday to confirm the exact time.


‌SpartAnalytics Report

Our community creates a monthly PDF report that includes an overview of Spartan Protocol data from Google Search (impressions, clicks, devices, keywords, and geographical data) and Twitter analytics.


‌Community DApp‌

‌GitHub Repo: https://github.com/spartan-protocol/SpartanProtocol-DAppV2

Front-end: https://dapp.spartanprotocol.org/

To do:


‌Protocol Site

GitHub Repo: https://github.com/spartan-protocol/spartan-site

Front-end: https://spartanprotocol.org/

To do:

‌Protocol API

GitHub Repo: https://github.com/spartan-protocol/spartan-api

Front-end: https://api.spartanprotocol.org/api/v1/pools

To do:

‌Protocol Subgraph

GitHub Repo: https://github.com/spartan-protocol/spartan-subgraph

Front-end: https://thegraph.com/hosted-service/subgraph/spartan-protocol/pool-factory

‌Protocol Contracts V3

GitHub Repo: https://github.com/spartan-protocol/spartan-contracts

To do:

‌Protocol Resources

GitHub Repo: https://github.com/spartan-protocol/resources

‌Protocol Docs

‌GitHub Repo: https://github.com/spartan-protocol/spartan-docs

Frontend: https://docs.spartanprotocol.org/

To do:

‌Protocol Contracts V1 - V2

GitHub Repo: https://github.com/spartan-protocol/spartanswap-contracts


‌Ecosystem Project: SpartanSwap‌

SpartanSwap is a separate project currently in development with the goal of creating a user-friendly interface for interacting with Spartan Protocol pools. Initially, the focus will be on providing swap functionality, with the long-term aim of becoming a swap aggregator for BNB SmartChain and potentially other chains in the future

SpartanSwap Contracts

GitHub Repo: https://github.com/Spartan-Swap/SpartanSwapContracts

To Do:

SpartanSwap DApp

GitHub Repo: https://github.com/Spartan-Swap/SpartanSwapDApp

create jotai state structures

  • added jotai deps
  • experimented with jotai (first time)
  • created a jotai global store with inits for all the previous swap page useStates
  • moved the API | web3 call functions inside the swapSources objects and normalised their args
  • refactored the swapRatesTable to have children items for each provider/row
  • moved most handed-down states to call from the jotai provider locally instead (still alot more of these to migrate)
  • moved the 'get rate' logic to the provider item/row instead of the parent, next we can add loading state for each and show on the front-end accordingly

cleanup & refactor

  • refactored out the AssetSelect modal's props to jotai state
  • moved the WalletModal to the Layout parent and conditionally isolated its code from running unless its now-global state isOpen
  • TopBar no longer needs to know Sidebar nor WalletModal states, just uses a jotai setter to toggle their global states
  • refactored the swap source item being updated in SwapRatesTableItem to utilize previousState and only update the new properties
  • refactored out the SwapSidePanel component props (use global jotai state instead)
  • refactored out the TxnModal component props (use global jotai state instead)
  • refactored out the WalletModal component props (use global jotai state instead)
  • added loading state per swap provider with onScreen visual indicator
  • refactored Swap view's logic, state and drilled-down props
  • cleaned up jotai store exports

integrate 0x quoting

  • adjusted quote asset id hand-in to be the whole object so that we can get quotes from api's that dont use addresses (and/or maybe if they can utilize more details like decimals)
  • added an 'integrated' prop for each swap provider with a visual indicator if they are integrated yet or not
  • added 0x swap aggregator provider quoting

To Do:

SpartanSwap Resources

GitHub Repo: https://github.com/Spartan-Swap/SpartanSwapResources


‌Ecosystem Project: SpartanArena‌

SpartanArena is a separate project that focuses on developing subprojects related to gaming. Some ideas that are being considered for the future include an NFT looter game, a lottery, and a prediction/parimutuel game

SpartanArena Contracts

GitHub Repo: https://github.com/SpartanArena/SpartanArenaContracts

SpartanArena DApp

GitHub Repo: https://github.com/SpartanArena/SpartanArenaDApp

SpartanArena Resources

GitHub Repo: https://github.com/SpartanArena/SpartanArenaResources


‌Ecosystem Project: SpartanToolkit

Spartan Toolkit is an ecosystem project initiated by the Spartan Protocol community with the goal of improving tools for projects and users within the BNBChain ecosystem, including Beacon, Smart, and BAS chains

BepTools Fork

GitHub Repo: https://github.com/Spartan-Toolkit/beptools

Legacy BepTools Repo: https://gitlab.com/canyacoin/binancechain/beptools (will request a PR and/or mirror to GitHub)

Temp Frontend: https://beptools.netlify.app/

The contributors of Spartan Toolkit have forked and updated/fixed the wallet connections in the BepTools DApp to enable BinanceChain/BeaconChain/BEP2 users to freeze/unfreeze and batch send BEP2 tokens on the BNB Beacon Chain

Web3BNB Library

GitHub Repo: https://github.com/Spartan-Toolkit/web3-bnb

A React library with the intention of providing builders with a plug-and-play solution for any web3 wallet compatible with BNB ecosystem chains (Beacon, Smart, BAS etc)

BNB Beacon Chain Toolkit DApp

GitHub Repo: https://github.com/Spartan-Toolkit/beacon-chain-tools-dapp

A tooling user interface for users + projects on BNB Beacon Chain. Batch-send, freeze/unfreeze, deploy BEP2 token etc without touching the command line!

BNB Smart Chain Toolkit DApp

GitHub Repo: https://github.com/Spartan-Toolkit/beacon-chain-tools-dapp

Tooling and informational user interface for users + projects on BNB Smart Chain‌


Protocol Information

Project Community

Spartan Protocol and its related ecosystem is a 100% open-source community initiative. As an open organization, the community is responsible for building, running, and maintaining everything. If you are interested in contributing or learning more, please reach out in the community channels!