BUIDL-Weekly: 16JAN23 - 22JAN23

Dev Update

BUIDL-Weekly: 16JAN23 - 22JAN23

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: 16JAN23 - 22JAN23

Explainer Video - Community Contribution

Big thanks to Ronni for contributing a great protocol explainer video this week! If you haven't yet checked it out, you can find the link below, make sure you jump on the socials and thank Ronni and co for spending the time, money and effort making this happen.

Liquidity Caps Raised RAVEN Pool

The RAVEN : SPARTA saw an increase in swap volume, resulting in a high APY which has been drawing in more liquidity. To accommodate this, the liquidity caps have raised from 400K to 600K.

Spartan Themed PoA NFT - Week 8

Remember to redeem this week's PoA NFT, provided complimentary by Thespis!


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 every week with @ReidyPhillip to stay informed about the project and the wider 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/

General changes

  • Removed unused fonts
  • style fix for 14inch windows 11 laptops
  • Added friends page
  • add node version range
  • add node version to yaml
  • disabled automated github workflow
  • Added custom 404 page
  • navbar links will use full url instead of hash
  • when user is on any '/page' page
  • fixed window error
  • fixed error page
  • fixed 404 size on mobile

deps cleanup

  • cleaned up unused dependencies
  • removed contentful env calls in the workflow
  • updated readme accordingly

big cleanup

  • added a placeholder documentation logo
  • contributors converted to safe loops for volatile vars
  • changed the "made by community" footer text
  • made all external links open in a new tab (socials and docs CTAs etc)
  • swapped the discord social link for the docs
  • created an isMetaMask helper for edge cases where users are inside MetaMask's mobile browser, this is not perfect but the best we can really do
  • the custom isMetaMask state is used to ensure links to our DApp is not opened in a new tab/window if the user is on a mobile device and has the window.ethereum.isMetaMask detected
  • adjusted size of the links in mobile menu to ensure they fit on smaller phones (portrait, but not necessarily on landscape i4/i5/etc but thats super-edge-case)
  • added onkeyDowns, roles,  and tabIndexes where missing and necessary
  • checked and updated any missing useEffect deps

formatting & consistency cleanup

  • formatting cleanup
  • consistency cleanup

Header meta tags

  • removed react-helmet && gatsby-plugin-react-helmet deps
  • converted to Gatsby's Head API
  • setup placeholder head meta tags

fix supply data call

  • added a number formatting helper
  • removed the GetSupply CSR call
  • added a SSR call to get the supply info from the SP API
  • expanded it with some error handling with fallback values
  • hand the SSR called data to the Tokenomics and Token components to display the up to date supply data to the user
  • fix friends cropped images

landscape mobile center alignment

  • fixed hero section center alignment issues on mobile-landscape
  • fixed swap section center alignment issues on mobile-landscape

final deploy to main tasks

  • update video embed url
  • Update README.md to reflect new website repo/stack
  • sorted out placeholder meta headers
  • organised new branch structure (main, staging & oldWebsite)
  • merged to main, deployed live

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

Extend pool contracts

  • set a minimum liquidity cost var
  • added a "handle transfer in" function
  • added a helper function to retrieve the depth of each asset in the pool
  • added alternative pool deploy method (use CREATE2 for deterministic address and gas saving when deploying)

To do:

‌Protocol Resources

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

synced recent local changes

  • uploaded recent logos/changes
  • uploaded placeholder opengraph/twitter meta header image

‌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

ImpLoss Calc

  • Uploaded impermanent loss calculator code into the repo (thanks nowaycs)
  • renamed the file
  • converted it to .tsx with inferred types
  • enforced consistent types throughout
  • added BigNumber and converted the math operations accordingly
  • migrated over the BigNumber changes from the .js file
  • adapted to suit consistency of strings vs numbers
  • adapted to suit the TS rules & types

placeholder txn modal

  • created a placeholder transaction modal
  • added progress steps for approval->confirm->sign / etc

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!