Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🚧 WIP: Add off-chain-data go client application 🚧 #1269

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on Nov 22, 2024

  1. Add off-chain-data go client application

    Created project structure, fixed typos. Implemented connect.go and
    getAllAssets.go. The latter uses an assetTransferBasic struct which
    provides a simple API for basic asset operations like create, transfer,
    etc.
    
    Added transact.go with some util functions. Using google uuid package to
    generate random UUIDs for the transactions.
    
    Implemented pretty printing of JSON results.
    
    Implemented app.go entry point with error handling. The existing
    commands are getAllAssets, transact and listen. They can be called from
    the command line via: "go run . <command> <command> ...". They will be
    executed in order and if a command is not known an the application
    panics and aborts before executing any of the commands.
    
    Implementing listen.go. Added checkpointer, context setups, call to
    BlockEvents and all the interfaces needed for parsing.
    
    Signed-off-by: Stanislav Jakuschevskij <stas@two-giants.com>
    twoGiants committed Nov 22, 2024
    Configuration menu
    Copy the full SHA
    f7ede20 View commit details
    Browse the repository at this point in the history