-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: update JSON RPC 0.7.1 support (#464)
- Loading branch information
1 parent
61b2192
commit 89ebec0
Showing
4 changed files
with
135 additions
and
49 deletions.
There are no files selected for viewing
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
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 |
---|---|---|
@@ -1,3 +1,14 @@ | ||
# Starknet Builder Package | ||
|
||
**DEPRECATED PACKAGE** | ||
**DEPRECATED PACKAGE** | ||
|
||
### Source code generation from contract ABI | ||
|
||
| Feature | Cairo 0 (legacy) | Cairo 1 | Cairo 2 | | ||
|--------------|--------------------|--------------------|--------------------| | ||
| call | ✅ | ✅ | ❌ | | ||
| invoke | ✅ | ✅ | ❌ | | ||
| core types | ✅ | 🚧 | ❌ | | ||
| custom types | ✅ | 🚧 | ❌ | | ||
| event | ❌ | ❌ | ❌ | | ||
|
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
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 |
---|---|---|
@@ -1,11 +1,60 @@ | ||
# Starknet provider | ||
# Starknet Provider | ||
|
||
Starknet provider for Dart and Flutter applications | ||
A Dart package for interacting with Starknet node using JSON-RPC, following the [Starknet JSON-RPC specification](https://github.com/starkware-libs/starknet-specs.git). | ||
|
||
### Transaction support | ||
|
||
## Transaction support | ||
|
||
| Feature | State | Version | | ||
| -------------- | ------------------ | ------- | | ||
| invoke | ✅ | 0, 1, 3 | | ||
| declare | ✅ | 1, 2, 3 | | ||
| deploy_account | ✅ | 1, 3 | | ||
| invoke | ✅ | 0, 1, 3 | | ||
| declare | ✅ | 1, 2, 3 | | ||
| deploy_account | ✅ | 1, 3 | | ||
|
||
## Supported JSON RPC version: 0.7.1 | ||
|
||
### Read methods | ||
|
||
Name of methods have been extracted from [starknet-specs](https://github.com/starkware-libs/starknet-specs.git) with the following command: | ||
```bash | ||
jq .methods[].name ../starknet-specs/api/starknet_api_openrpc.json | ||
``` | ||
| Name | Implemented | | ||
| ------------------------------------------ | ------------ | | ||
| starknet_specVersion | ❌ | | ||
| starknet_getBlockWithTxHashes | ✅ | | ||
| starknet_getBlockWithTxs | ✅ | | ||
| starknet_getBlockWithReceipts | ❌ | | ||
| starknet_getStateUpdate | ✅ | | ||
| starknet_getStorageAt | ✅ | | ||
| starknet_getTransactionStatus | ❌ | | ||
| starknet_getTransactionByHash | ✅ | | ||
| starknet_getTransactionByBlockIdAndIndex | ✅ | | ||
| starknet_getTransactionReceipt | ✅ | | ||
| starknet_getClass | ✅ | | ||
| starknet_getClassHashAt | ✅ | | ||
| starknet_getClassAt | ✅ | | ||
| starknet_getBlockTransactionCount | ✅ | | ||
| starknet_call | ✅ | | ||
| starknet_estimateFee | ✅ | | ||
| starknet_estimateMessageFee | ❌ | | ||
| starknet_blockNumber | ✅ | | ||
| starknet_blockHashAndNumber | ✅ | | ||
| starknet_chainId | ✅ | | ||
| starknet_syncing | ✅ | | ||
| starknet_getEvents | ✅ | | ||
| starknet_getNonce | ✅ | | ||
|
||
### Write methods | ||
|
||
Name of methods have been extracted from [starknet-specs](https://github.com/starkware-libs/starknet-specs.git) with the following command: | ||
```bash | ||
jq .methods[].name ../starknet-specs/api/starknet_write_api.json | ||
``` | ||
|
||
| Name | Implemented | | ||
|--------------------------------------------|--------------| | ||
| starknet_addInvokeTransaction | ✅ | | ||
| starknet_addDeclareTransaction | ✅ | | ||
| starknet_addDeployAccountTransaction | ✅ | | ||
|