BUIDL-Weekly: 19DEC22 - 25DEC22
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
Happy Festive Season!
Tis' the time of the year when people come together with family and friends to reflect on the year past and appreciate the good things in life.
Thanks to the community and contributors for all the support over the past year, great to see the community pushing out the activity during this period but do not forget to take a break and spend time with family/friends, relax and throw your feet up!
Plenty of exciting things to come out of this community in the years to follow 🥳
Spartan Themed PoA NFT - Week 4 (Again)
Apologies if you had trouble claiming last week's NFT, we have provided new links and info here for Spartans to try the same NFT again this week. Thanks again to Thespis for sorting these out for the community to claim for free!
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 monthly PDF report covering Google Search (impressions, clicks, devices, keywords & geographical) & Twitter analytics. You can find the full November report here
‌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/
improved mobile-landscape mode
- fixed token sections animations
- swap contributors and video sections
- change token sections font to saira
- increased font weight for both titles and subtitles
- decrease buttons width in landscape mode
To do:
- Migrate the CMS content into the website code
- Hero Section | Balance margins
- Security Section | Strict-set heights for images
- Community Section | Decrease avatar padding mobile
‌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:
- Create an optional V3 token contract
- Create a controller contract
- Create a BEP20 pool/LP token contract design
‌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:
- Future | Consider migration to Docusaurus
- Add whitelisting resources guide
- Intro Section | Convert dot points into an 'open org' section
- Contribute Section
‌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
To Do:
SpartanSwap DApp
GitHub Repo: https://github.com/Spartan-Swap/SpartanSwapDApp
extend swap page
- added
bignumber.js
dep and set it up with some basic config - added logic to handle selected assets 1&2 in the swap component
- added logic to get the balances of each selected asset
- added a bunch of formatting helpers for bigNumbers
update swap interface
- moved
classNames()
to a helper export - created a pageWrap component for consistent container structure between pages
- added a
swapSidePanel
component for route/chart details + placeholder tabs + settings button - added some spacing between rows in the Swap component
- added buttons and button-roles to elements in the swap component
- added 'clear' button for the input of the swap component
add basic 1inch quoting
- added logic to clear input on click of cross/clear button
- added logic to set the input qty as the max balance in click of MAX button
- call 1inch quote from api on change of input value and set the output value to the quoted result
- clear input on change of selectedAsset1 && 2
improve 1inch fetch logic
- added loading state spinner to UI during rate-fetch & gave the spinner an onClick function to manually refresh the rate
- added a 500ms debounce delay for calling the api (make sure api doesnt get called unnecessarily)
- added a 10s interval to get new rate from API
- changed the logic so that changing the selectedAsset1 || 2 calls a new rate with the new params instead of clearing the inputs
- added
gasPrice
to 1inch api call along with a couple defaults for bsc
change swap page structure
- changed tiled structure to connected with a divider (divider changes x/y based on screen width)
- removed a missed setInput(") from previous commit (asset2 icon onClick)
- converted 'Connect Wallet' placeholder into a functional button to launch the wallet selection modal
To Do:
- Stage02: Add initial support for 1inch API only
- Stage02: Do some web3 swap testing
- Create Basic Swap Interface DApp
- Create IL Simulator
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.
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
- Website: https://SpartanProtocol.org/
- DApp: https://DApp.SpartanProtocol.org/
- Documentation: https://Docs.SpartanProtocol.org/
- GitHub: https://GitHub.com/spartan-protocol
Community Links
- Twitter: https://twitter.com/spartanprotocol
- Telegram Community: https://t.me/spartanprotocolorg
- Telegram Announcements: https://t.me/spartanprotocolann
Project Community
Spartan Protocol and its extended ecosystem is a 100% open-source community movement. Being an open organisation, the community builds, runs, and maintains everything. If you would like to contribute or learn more, reach out in the community channels!‌