-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
New Tool: Build a Flow SDK [Rust] - Milestone 2 (#60)
* Flow.rs Milestone 2 * Update with link to repo
- Loading branch information
Showing
1 changed file
with
37 additions
and
0 deletions.
There are no files selected for viewing
37 changes: 37 additions & 0 deletions
37
submissions/issue-20/milestone-2/fee1-dead/20211010-milestone-2.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
# `flow-sdk` status update | ||
|
||
See [the flow.rs repository](https://github.com/fee1-dead/flow.rs). | ||
|
||
Instead of using `prost`, a new crate named `otopr` has been built from scratch. | ||
Since `otopr` does not yet have the capability to generate Rust sources from `.proto` files, | ||
entities are implemented by hand. | ||
|
||
User stories checklist: | ||
|
||
Blocks - See [`examples/blocks.rs`](https://github.com/fee1-dead/flow.rs/blob/master/examples/blocks.rs): | ||
- [x] retrieve a block by ID | ||
- [x] retrieve a block by height | ||
- [x] retrieve the latest block | ||
|
||
Collections - See [`examples/collections.rs`](https://github.com/fee1-dead/flow.rs/blob/master/examples/collections.rs): | ||
- [x] retrieve a collection by ID | ||
|
||
Events - See [`examples/events.rs`](https://github.com/fee1-dead/flow.rs/blob/master/examples/events.rs): | ||
- [x] retrieve events by name in the block height range | ||
|
||
Scripts: | ||
- [ ] submit a script and parse the response - Needs parsing | ||
- [ ] submit a script with arguments and parse the response - Needs parsing | ||
|
||
Accounts - See [`examples/accounts.rs`](https://github.com/fee1-dead/flow.rs/blob/master/examples/accounts.rs): | ||
- [x] retrieve an account by address | ||
- [ ] create a new account - A transaction with provided cadence template | ||
- [ ] deploy a new contract to the account - A transaction with provided cadence template | ||
- [ ] remove a contract from the account - A transaction with provided cadence template | ||
- [ ] update an existing contract on the account - A transaction with provided cadence template | ||
|
||
Transactions - See [`examples/transactions.rs`](https://github.com/fee1-dead/flow.rs/blob/master/examples/transactions.rs): | ||
- [ ] retrieve a transaction by ID - Arguments of the transaction will eventually be parsed or used as plain text only | ||
- [x] sign a transaction (single payer, proposer, authorizer or combination of multiple) | ||
- [x] submit a signed transaction | ||
- [ ] sign a transaction with arguments and submit it - Requires Cryptography and Access API - Arguments need to be serialized as Cadence-JSON |