Skip to content

Commit

Permalink
Flow.rs Milestone 3 (#71)
Browse files Browse the repository at this point in the history
  • Loading branch information
fee1-dead authored Nov 10, 2021
1 parent 7f982b3 commit 34c4ac7
Showing 1 changed file with 46 additions and 0 deletions.
46 changes: 46 additions & 0 deletions submissions/issue-20/milestone-3/fee1-dead/20211020-milestone-3.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
# `flow-sdk` status update

See [the flow.rs repository].

The Cadence JSON interchange format implementation can be found in [`cadence_json/src`].

User stories checklist:

Blocks - See [`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`]:
- [x] retrieve a collection by ID

Events - See [`examples/events.rs`]:
- [x] retrieve events by name in the block height range

Scripts - See [`examples/scripts.rs`]:
- [x] submit a script and parse the response
- [x] submit a script with arguments and parse the response

Accounts - See [`examples/accounts.rs`]:
- [x] retrieve an account by address
- [x] create a new account - See [`examples/transactions.rs`]
- [x] deploy a new contract to the account - No examples for now, see [`src/protobuf/entities/transaction/template.rs`]
- [x] remove a contract from the account - No examples for now, see [`src/protobuf/entities/transaction/template.rs`]
- [x] update an existing contract on the account - No examples for now, see [`src/protobuf/entities/transaction/template.rs`]

Transactions - See [`examples/transactions.rs`]:
- [x] retrieve a transaction by ID - See [`examples/parse_transaction_arguments.rs`]
- [x] sign a transaction (single payer, proposer, authorizer or combination of multiple)
- [x] submit a signed transaction
- [x] sign a transaction with arguments and submit it

[`examples/transactions.rs`]: https://github.com/fee1-dead/flow.rs/blob/master/examples/transactions.rs
[`examples/parse_transaction_arguments.rs`]: https://github.com/fee1-dead/flow.rs/blob/master/examples/parse_transaction_arguments.rs
[`examples/accounts.rs`]: https://github.com/fee1-dead/flow.rs/blob/master/examples/accounts.rs
[`examples/scripts.rs`]: https://github.com/fee1-dead/flow.rs/blob/master/examples/scripts.rs
[`examples/events.rs`]: https://github.com/fee1-dead/flow.rs/blob/master/examples/events.rs
[`examples/collections.rs`]: https://github.com/fee1-dead/flow.rs/blob/master/examples/collections.rs
[`examples/blocks.rs`]: https://github.com/fee1-dead/flow.rs/blob/master/examples/blocks.rs
[the flow.rs repository]: https://github.com/fee1-dead/flow.rs
[`src/protobuf/entities/transaction/template.rs`]: https://github.com/fee1-dead/flow.rs/blob/src/master/protobuf/entities/transaction/template.rs
[`cadence_json/src`]: https://github.com/fee1-dead/flow.rs/blob/src/master/cadence_json/src

0 comments on commit 34c4ac7

Please sign in to comment.