Hellohitchhiker,andwelcomeonboardtotheFarcasterSpecifications!TheRFCsdescribecomponentsthatgluetogethertoformaswapprotocolbetweentwoblockchainbasedassets,currentlyfocusingonBitcoinandMonero.
OverviewBelowisanindexoftheRFCs,looselyintheorderwerecommendstudyingthemtofamiliarizeyourselfwiththeproject.
00.IntroductionIntroduction,GlossaryandTerminologyGuidethatwillhelpyoufamiliarizewiththeFarcasterandAtomicswapterminology.
01.HighLevelOverviewDescribesthehighlevelconceptsassociatedtotheprotocolsuchasrolesandphasesimplementedinsideFarcaster.
02.UserStoriesPresentsfromauserperspectivehowparticipantsinteractduringtheswapdependingontheirroles.
03.FarcasterArchitectureProvidesanoverviewofthetechnicalarchitectureoftheFarcastersoftwarestack.Listsandexplainsthemicro-servicesthatcomposeFarcaster.
04.ProtocolMessagesSpecifiesthemessagesexchangedbetweendaemonsduringaswapandthepeer-to-peermanagementbetweendaemons.
05.Tasks&BlockchainEventsSpecifiesthetasksthatsyncersmakeavailabletodaemonsforthemonitoringofchain-statethroughblockchaineventsandthebroadcastoftransactions.
06.Datum&InstructionsSpecifiesthemessagesthatdaemonsandclientsexpecttoreceivefromeachother.Theycontrolthestatetransitionsofanongoingswapandallowinformationtoflowbetweenaclientandadaemon.
07.CryptographicSetupSpecifiesthecryptographicprimitivesusedtotransfersecretsthroughtransactionswithadaptorsignaturesandspecifiesthecryptographicsetuprequiredatthebeginningofaswaptoguaranteesafetyoffunds.
08.TransactionsSpecifiestheBitcoinandMonerotransactionsinvolvedinaswapwiththeirtemporalsafety.DescribesvariantsofBitcointransactions,dependingontheSegWitversionandmulti-signatureprotocolused.
09.SwapstateSpecifieswhattheswapstateis,state-digestssummarizingtheswapstate,whatinformationhastobeloggedforrecovery,andhowtorecoverstateafterfailure.
10.PublicOfferSpecifiesthepublicofferformatandfeaturesforversion1,allowingmakersinthenegotiationphasetodescribeapotentialswap,andallowingtakerstoconnectstomakersandthuspotentiallytrade.
AcknowledgmentsThisprojectwasfundedbytheMonerocommunitythroughtheCommunityCrowdfundingSystem(CCS).Thankstoallcontributorsandgenerousanonymousdonors!
评论