BUIDL-Weekly: 25JUL22 - 31JUL22

Dev Update

BUIDL-Weekly: 25JUL22 - 31JUL22

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: 25JUL22 - 31JUL22

New CEX Listing on Bitrue

The week started off racing with a new CEX listing for SPARTA : USDT on Bitrue Exchange. A big thanks to Bitrue for taking the reigns on this listing and supporting our community project!

CZ <> Spartan Art

Shout out to Alex Melas from the Spartan community who made this amazing art piece depicting CZ_binance as a Spartan holding strong in the shield wall. Check out more of his amazing work via his ArtStation profile

300

CZ really showed his Spartan spirit this week with a callout to the 300 movie calling it "One of my favourites" and of course, the Spartan community loved it! Obviously, Spartan Protocol is not a meme coin project, but the narrative and theme have important alignments to the project & community's foundations.

New CEX Listing on BitKan

Yes, you are seeing double 👀! The end of the week presented us with yet another CEX listing for the SPARTA token, this time on BitKan. There is a trading competition in place thanks to BitKan too, so make sure you check out the details and win yourself a share of the $30K prize pool along with a beautiful drum and some SPARTA merch.


BSCDaily Mentions

Twitter account providing BNBChain daily news

WhaleStats Mentions

Whalestats track up to 4000 of the largest BNB Chain wallets (the "whales") and provide useful metrics and data for users.

CoinMarketLeague Mentions

Don't forget to vote for SPARTA each week, Spartans!

CryptoDep Mention

Crypto project updates via Twitter

Crypto Eights Mention

Crypto project updates via Twitter


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.

Weekly LearnToEarn Quiz

Congratulations to the winners of the weekly Spartan Protocol LearnToEarn quiz.

There is a new #LearnToEarn quiz up and live for Spartans keen to learn and win some SPARTA in the process!

Don't forget to ask on the socials if you are not sure! The community is there to help and these quizzes are all about learning!


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 June report here.


Community DApp

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

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

Conscious integration of BraveWallet

Completed a conscious integration of BraveWallet

BraveWallet connection flow:
- Detect .isBraveWallet and give the button state accordingly
- User clicks BraveWallet button if available
- Wallet asks permission, awaits user action
- User confirms, the DApp reloads with wallet selected (held in localStorage for auto-connect next time)
- User is able to view assets and add them to the wallet with icons etc

BraveWallet change network flow:
- User (already connected BraveWallet) changes network selection
- If the network is not already in BraveWallet, the user is prompted to add the network with info pre-filled
- The user is then prompted to change the network
- DApp reloads with wallet and network pre-loaded

fix #839 consistent types

Made the returned value types consistently BigNumber for:

  • `calcSynthAPY`
  • `calcDaoAPY`
  • `calcAPY`

fix#841 synth positions

  • added conditionals for invalid `getSynth()` results
  • checked other `get`s throughout, there are a couple of instances where this could apply but technically the sanity checks prior and/or selection style makes it not possible (currently) will re-actively update if the feature-set changes enough to change this

fixes #840 handle rounding of negative numbers

  • Changed logic of  `formatFromUnits()` && `formatFromWei()` to treat negative numbers the same as positive numbers when rounding for the front-end
  • Changed the less than/greater than/equal to checks to the more accurate BigNumber versions (this only matters for the `<= 0` conditional where that JS limit can be reached, but made sense to do so with all conditionals seeing as we are working with a BigNumber)

To do:


Protocol Site

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

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

General

  • Added support for animation start on scroll for older devices
  • Added hover animation for buttons
  • Added opening mobile menu animation
  • Added closing mobile menu animation
  • removed tailwind-animation-delay
  • added font loaded check for the navbar
  • fixed issue with using 'window' object in gatsby
  • shortened navbar fadeIn animation
  • Added font loading check only for the dapp button
  • Added animations to the token section
  • added 'small' contributors: the ability to add a 'small' contributor to the team members for more fine-tune-able contributor sorting logic

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:

  • Draft up general pool structure

Protocol Resources

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

Protocol Docs

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

add Brave Wallet info

  • Updated 'clear wallet' screenshot to new DApp layout
  • Updated 'connect wallet' screenshot to new DApp layout
  • Updated screenshot of the list of wallets to match current DApp offering
  • Updated 'Mobile Wallets' comparison table and added Brave Wallet
  • Updated 'Laptop/Desktop Wallets' comparison table and added Brave Wallet
  • Changed some wording throughout the 'Getting Started' section and added some clearer instructions/steps

To do:

Protocol Contracts V1 - V2

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


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

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

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.

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)

  • Added WalletConnect provider along with basic connection and state logic
  • Removed the setupClient callback bandaid fix for the BNC bug (handled at the multi send end-function level now so we don't have to reset the client each txn)
  • Added loop to get all BeaconChain wallet's token balances every 15s and add to redux store
  • Changed BinanceWallet signing delegate to use a raw singing method instead of the internal transaction-type signing methods as they seem to have buggy behaviour with different issues on each network and between different txn types - raw sign means less info parsed for the user in the wallet but at least we know the msg they are signing has not been mutated or blocked due to a failed API call
  • Added a WalletConenct signing delegate using .sendCustomRequest and the bnb_sign method
  • Added XDefiWallet signing delegate placeholder for future integration

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!

  • Added a staging deploy workflow
  • Cleaned up webpack & deps
  • Updated Bootstrap to 5.2.0
  • Added 'wrong address selected' handling & alert to Wallet component
  • Added 'Connect with WalletConnect' option to Wallet component
  • Normal transfer & multi send/batch transfer functional MVP complete - users can connect their wallet -> select an asset from their available balances -> manually add recipient/s & amount/s or import from CSV -> send msg to their wallet for signing then broadcast/complete the txn
  • Added simple mobile menu

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

Community Project

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!