HackerTrans
トップ新着トレンドコメント過去質問紹介求人

starkience

no profile record

投稿

I built an open-source SDK to hide blockchain complexity from app developers

starkzap.io
1 ポイント·投稿者 starkience·4 か月前·0 コメント

[untitled]

1 ポイント·投稿者 starkience·4 か月前·0 コメント

Show HN: StarkZap – Gasless Bitcoin Payments SDK for TypeScript

github.com
6 ポイント·投稿者 starkience·5 か月前·21 コメント

コメント

starkience
·4 か月前·議論
[dead]
starkience
·5 か月前·議論
we have a quick-start here: https://docs.starknet.io/build/starkzap/quick-start

Happy to know how the integration goes, if you have feedback, suggestions, etc.
starkience
·5 か月前·議論
yup, very clean sdk !
starkience
·5 か月前·議論
yup Bitcoin's UTXO model is fundamentally different, gasless doesn't apply there the same way. To clarify what the Starkzap SDK actually does: it operates on Starknet, which is an account-based L2 that settles on Ethereum. Bitcoin assets on Starknet are bridged representations, not native UTXOs (although Starknet will soon have a trust-minimized bridge with Bitcoin thanks to Alpen, removing trust assumptions)

So when we say gasless, we mean the Starknet transaction fees are sponsored via a paymaster. The user doesn't need to hold STRK or ETH to transact. The cost is covered by the app or a paymaster service like AVNU (just like Amazon covers shipping costs). That's a design choice the app builder makes depending on their business model. On the stablecoin side: any stablecoin deployed on Starknet works with the SDK, and the paymaster covers the transaction fees if configured. The technical execution is what matters, and that's what the SDK focuses on. The code is open-source if you want to see how it's handled under the hood.
starkience
·5 か月前·議論
it really depends on what you're building, but when I tested it out I had a simple webapp that tracks how often I blink, and it took me 30min to everything live and deployed on Starknet.
starkience
·5 か月前·議論
It actually works with any asset that is listed onchain. So tokens such as ETH and others also work. As long as the token is live on the Starknet network, it can be used. I think the cool thing is that some tokens have interesting yield strategies, so you can cherry-pick the strategies you like the most and want to add to your app.
starkience
·5 か月前·議論
Did you get to try it out already?
starkience
·5 か月前·議論
Did you already use it? what did you ship
starkience
·5 か月前·議論
yeah that's the goal of the sdk. I've seen a couple do it already and it's pretty interesting
starkience
·5 か月前·議論
yep, noticed many web2/SaaS devs struggle with blockchain integrations. So it's in Typescript to make it easy to ship. In theory, you can cherry-pick the blockchain features you need for your app (e.g., you're a tradFi stock exchange app and want to add perpetual contracts for index and tradFi assets, so you select the 'perps' module in the SDK) and you don't have to re-design or architect yourself smart-contracts
starkience
·5 か月前·議論
Happy to answer questions about the trust model, custody assumptions, gas economics, or why Starknet vs other Ethereum layer-2s approaches :)
starkience
·5 か月前·議論
We wrote a deeper technical breakdown of the architecture here: https://dev.to/akashneelesh/bring-bitcoin-to-your-app-now-in...

High-level architecture: Accounts are smart contract wallets on Starknet Fees are covered via a paymaster contract It's meant for any builder, you don't have to be a blockchain expert to build with it. Transactions are batched and submitted atomically, so you keep the UX of your existing app.
starkience
·5 か月前·議論
It's insane the power of a single stack