stampchain-io / BTCStampsExplorer

Bitcoin Stamps API / Explorer
https://bitcoinstamps.xyz
GNU Affero General Public License v3.0
0 stars 2 forks source link

SDK / Modules for SRC-20 and Stamp Transaction Construction #10

Open reinamora137 opened 5 months ago

reinamora137 commented 5 months ago

The goal is to provide an SDK / modules for devs to interact with and build applications based on Stamps

The initial phase can be transaction construction for both stamps(olga method) and SRC-20 tokens deploy/mint/transfer. Which are also provided here on these two api post methods: https://stampchain.io/docs#/default/post_api_v2_src20_create. I think this may need to reference or include documentation and or sdk's on how dev's can connect leather/okx/unisat to their websites as a reference since those are the most widely used in stamps. The end goal would to have everything needed where someone could create a site, have users login via wallet and construct stamp/src-20 transactions simply from the SDK. We also have OrdinalsWallet working on integration btw, and ordpool.space also currently shows src-20 transactions deconstructed and has their repo public as another reference.

Phase2: could be doing the python versions, and potentially full construction/deconstruction of the counterparty/stamp(v1 non-olga) transactions as well.

It's really just pulling out some of the existing code, and making it portable and sharing publicly in a well/easily supported way with documentation. Doing python versions at some point would be cool as well, making an installable pip module for that as well. I think this will be bullish for the broader dev community to easily build on stamps as all of this code right now is private and controlled through maybe 3-4 devs which ofc maintain high fee markups to interact with stamps - by publishing all this we can help bring down for overall community/dev growth.