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
The goal is to create an interface that exposes the main SDK functions so that we can hide all the complicated logic and better organize the code. This way we'll be able to eventually swap out the SDK for a pure GO/lbrycrd implementation.
The identified tasks of the SDK are listed here.
sdk
download wallet and blockchain.db from s3
start/stop sdk
wait for slow startup
clean up after shutdown
what we actually need the sdk for
publishing
create channel claim, sign it, send it to lbrycrd
create the content (aka stream) claim, sign claim with channel key
put claim into a transaction, sign it with private key, send the transaction to lbrycrd
ensure utxos are available, create utxos, select utxos for transaction (coin chooser)
check balance, fund account from ytsync wallet
check what channels are in the wallet. ensure that we're using the right wallet for the right channel, and that we have the right utxos for everything
don't spend staked utxos
transfer
transferring claims to creator's wallet
abandon tips and supports, and send them to the creator as tips
after transfer, retain channel's public and private keys so we can keep publishing to their channel. also retain the address that the channel claim is in, so we can tell if the channel is abandoned and make sure we don't publish duplicate videos (videos we already published) to your channel
metadata
handle old versions of claim metadata
update published metadata if new fields get added (may not be strictly necessary)
Must do:
Write an interface for the SDK
Move the code into an implementation
The text was updated successfully, but these errors were encountered:
The goal is to create an interface that exposes the main SDK functions so that we can hide all the complicated logic and better organize the code. This way we'll be able to eventually swap out the SDK for a pure GO/lbrycrd implementation.
The identified tasks of the SDK are listed here.
Must do:
The text was updated successfully, but these errors were encountered: