You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sway Farm try-hard mode: A cross-chain experience.
This proposal comes to facilitate the onboarding of Solidity developers into the Fuel ecosystem by implementing a fullstack application that showcases a complete user flow between Ethereum and Sway contracts.
In this case, a seamless Bridging and Withdrawal experience can be achieved with the Sway Farm try-hard mode (name TBD) that consist of the following elements.
Narrative in the context of SwayFarm that justifies the interaction between Ethereum and Fuel
Front End that interacts with the Fuel Canonical Bridge and SwayFarm Smart Contract.
Back end that evaluates and spends Predicates after plot pay off.
Upgradeable implementation of the SwayFarm contract to ensure back compatibility in the context of the Fuel Testnet.
Indexer implementation to showcase the data visualization of Fuel Smart Contracts.
Sway script implementation that showcase complex interactions with Fuel Smart Contracts.
Predicate implementation that showcase native account abstraction in the form of CDPs.
Narrative
In order to participate in the solarpunk economy of SwayFarm, users have to acquire plots by lending money from the Swayfarm City Hall through mortgages. These mortgages require users to deposit Ether as principal and collateral to be locked in predicates as CDPs. In case of defaulting, SwayFarm City Hall is entitled to retake ownership over the plot plus an interest from the collateralized Ether
The user is required to work the land in order to generate some SwayFarmToken that pays off the plot debt. The generated tokens are meant to be deposited in the mortgage predicate in order to fully unlock the plot.
Front end
Plot acquisition: A screen that involves Bridging, Withdrawing and CDP creation
Plot dashboard: A screen that tracks plot performance and predicate balance
Backend
CDP liquidation: a service that evaluates Predicates to unlock users ether after plot payoff.
Upgradeable implementation
SwayFarm legacy: Tracks state of SwayFarm normie mode
Sway Farm try-hard mode: A cross-chain experience.
This proposal comes to facilitate the onboarding of Solidity developers into the Fuel ecosystem by implementing a fullstack application that showcases a complete user flow between Ethereum and Sway contracts.
In this case, a seamless Bridging and Withdrawal experience can be achieved with the Sway Farm try-hard mode (name TBD) that consist of the following elements.
Narrative
In order to participate in the solarpunk economy of SwayFarm, users have to acquire plots by lending money from the Swayfarm City Hall through mortgages. These mortgages require users to deposit Ether as principal and collateral to be locked in predicates as CDPs. In case of defaulting, SwayFarm City Hall is entitled to retake ownership over the plot plus an interest from the collateralized Ether
The user is required to work the land in order to generate some SwayFarmToken that pays off the plot debt. The generated tokens are meant to be deposited in the mortgage predicate in order to fully unlock the plot.
Front end
Backend
Upgradeable implementation
Indexer
Script
Predicate
Interactions
This is a work in progress, comments are more than welcome.
The text was updated successfully, but these errors were encountered: