BUIDL-Weekly: 24OCT22 - 30OCT22

Dev Update

BUIDL-Weekly: 24OCT22 - 30OCT22

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: 24OCT22 - 30OCT22

ETH Pool Liquidity Caps Raised

The ETH:SPARTA pool hit its liquidity caps which then raised from 200K -> 400K

SPARTA Listed on Hyve Platform

This week Hyve listed the SPARTA token as an asset for users to pay or accept payment for their jobs/tasks on the platform

Smart Wallet Series AMA

Phillip Reidy from the community jumped on a Twitter Spaces call to talk about Gamification & Loyalty Programs in web3 and how they relate to Spartan protocol and DeFi in general.

BNB Pool Caps Raised

The BNB:SPARTA pool liquidity caps have increased from 11M -> 12M to allow in more liquidity


Community Mentions

CoinMarketLeague

Don't forget to vote for SPARTA every day Spartans!


Weekly Community Call / Hangout

Don't forget to tune into the Telegram channel each week with @ReidyPhillip to get updates on the project and broader ecosystem. Join in the discussion with any ideas and questions!

Hosted every Wednesday at ~11:00 UTC but subject to change based on community feedback and availability. Please check the Telegram channel each Tuesday/Wednesday to confirm the exact time.


‌SpartAnalytics Report

Our community collates the public Spartan Protocol data into a PDF report each month covering Google Search (impressions, clicks, devices, keywords & geographical) & Twitter analytics. You can find the full September report here


‌Community DApp‌

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

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

General:

  • created an `anchorLink()` helper function that performs in a similar way to using a normal `href=#elementID` jump/anchor link but with a parent arg as well to ensure we can prevent the css-grid being broken (anchor links dont work well with vertical grids that have sticky sections)
  • changed helper.js to helper.ts to allow for setting strict types in the functions
  • Added typescript devDep
  • added a fallback to document.execCommand('copy') if navigator.clipboard is not found or permissioned

Fiat Onboard:

  • Change Binance Connect icon to suit dark/light mode
  • added an ID to the parent element and utilized the new helper function to jump to the achor elements without breaking css-grid on mobile devices
  • cleaned up the CSS rules to fix the scroll-snap alignment issues that came about only when you scroll past the 2nd section and then back up

To do:


Protocol Site

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

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

General:

  • added icons to each view/section

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

fix tvl / lp unit metrics:

  • added a `backfillPoolMetrics()` function to ensure the backfill entities are created *before* updating the current pool values (so that stale metric entities/backfills are using the last available historic value instead of the brand new/current one)
  • added `backfillPoolMetrics()` inside any value-changing function *before* changing any pool values
  • this created a `cant / 0` style issue upon pool creation (initial liq add) so added a conditional check for this inside `LiqAdd`
  • this also created a problem with inflated `txCount` in pool and global metrics so added a boolean to bypass txCount increments when `backfillPoolMetrics()` is used

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

To Do:


‌Ecosystem Project: SpartanSwap‌

SpartanSwap is just a placeholder for now, but it is a separate project with the intention of building an alternative frontend for users to interact with the Spartan Protocol pools. With a focus on swap functionality to start with and longer-term plans to iterate towards becoming a swap aggregator for BNBChain and potentially multi-chain after that

SpartanSwap Contracts

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

add vault / yield agg ideas:

  • added notes on Permissionless LP/token vault design
  • added notes on Yield Aggregator

To Do:

SpartanSwap DApp

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

SpartanSwap Resources

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


‌Ecosystem Project: SpartanArena‌

SpartanArena is another separate project with a focus on creating subprojects that lean more towards 'gaming'. Some ideas in the works for the future may include an NFT looter game, lottery and a prediction/parimutuel game

SpartanArena Contracts

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

General:

  • added BullArena local temp/unfinished work
  • added LongArena local temp work
  • added notes to recoverToken()

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 spawned from the Spartan Protocol community aiming to improve tooling for projects and users within the BNBChain ecosystem including Beacon, Smart & 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/

SpartanToolkit contributors have forked and updated/fixed wallet connections etc on the BepTools DApp to give BinanceChain / BeaconChain / BEP2 users a way to freeze/unfreeze & batch send BEP2 tokens on 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

CommunityProject

Spartan Protocol and its extended ecosystem is a 100% open source community movement. Being an open org, everything is built, run and maintained by the community. If you would like to contribute or learn more, reach out in the community channels!‌