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

[New Tool: Build a Flow SDK] - Milestone 1 #117

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
52 changes: 52 additions & 0 deletions submissions/issue-20/milestone-1/Evan/flow-cpp-sdk.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
## [New Tool: Build a Flow SDK] - Milestone 1

## Description

This PR is for issue #20.

This version of the C++ SDK provides gRPC communication and a number of the SDK user stories, including script execution.

Usage documentation is available at https://github.com/Evan-Dapplica/FlowCppSDK

## Features:

Blocks:

- [x] retrieve a block by ID
- [x] retrieve a block by height
- [x] retrieve the latest block

Collections:

- [x] retrieve a collection by ID

Events:

- [x] retrieve events by name in the block height range

Scripts:

- [x] submit a script and parse the response
- [x] submit a script with arguments and parse the response

Accounts:

- [x] retrieve an account by address
- [ ] create a new account
- [ ] deploy a new contract to the account
- [ ] remove a contract from the account
- [ ] update an existing contract on the account

Transactions:

- [x] retrieve a transaction by ID
- [ ] sign a transaction (single payer, proposer, authorizer or combination of multiple)
- [ ] submit a signed transaction
- [ ] sign a transaction with arguments and submit it

## Milestones

- [x] 1: Implement the gRPC layer of the SDK, allowing communication with the Flow blockchain
- [ ] 2: Accomplish transaction signing in a way that handles the complex algorithm / hashing / encoding for the user.
- [ ] 3: Meet and exceed Flow SDK guidelines
- [ ] 4: Complete documentation and common usage examples are available