Skip to content

Commit bdfa1ce

Browse files
Merge pull request #44 from blockfrost/release-1.0.0
release: 1.0.0
2 parents 8601a37 + 6c7f988 commit bdfa1ce

File tree

2 files changed

+35
-26
lines changed

2 files changed

+35
-26
lines changed

CHANGELOG.md

+28-20
Original file line numberDiff line numberDiff line change
@@ -7,29 +7,37 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## Unreleased
99

10-
## 1.0.0 - 2023-xx-xx
10+
## 1.0.0 - 2023-12-18
1111

1212
### Changed
1313

14-
- Per endpoint pagination
15-
- Github Continuous integration
16-
- Cargo Clippy + rustfmt
17-
- Removed macros
18-
- Tests
19-
- Added tx evaluate endpoint
20-
- Fetch all methods
21-
- Cleanup
22-
- Settings refactored
23-
- Updated data and schemas
24-
- Added missing endpoints
25-
- More examples
26-
- Unit tests
27-
- linting
28-
- Added missing endpoints `accounts_addresses_total`, `addresses_extended`, `addresses_utxos_asset`, `network_eras`, `mempool`, `mempool_hash`, `mempool_addresses_address`, `scripts_hash_json`, `scripts_hash_cbor`, `scripts_datum_hash`, `scripts_datum_hash_cbor`, `utils_tx_evaluate`, `utils_tx_evaluate_utxos`
29-
30-
### Removed
31-
32-
- macros
14+
- Implemented pagination for each endpoint.
15+
- Integrated GitHub Continuous Integration for automated testing and deployment.
16+
- Applied Cargo Clippy and rustfmt for code linting and formatting.
17+
- Removed macros.
18+
- Expanded test coverage with additional tests.
19+
- Enhanced data fetching methods.
20+
- Conducted code cleanup and refactoring.
21+
- Refactored settings for improved clarity and efficiency.
22+
- Updated data structures and schemas to the latest standards.
23+
- Provided more comprehensive examples for better user understanding.
24+
- Enhanced unit tests for more robust code testing.
25+
- Implemented additional linting measures for code quality assurance.
26+
- ENDPOINTS.md now contains a table of implemented endpoints.
27+
- Added missing endpoints:
28+
- `accounts_addresses_total`
29+
- `addresses_extended`
30+
- `addresses_utxos_asset`
31+
- `network_eras`
32+
- `mempool`
33+
- `mempool_hash`
34+
- `mempool_addresses_address`
35+
- `scripts_hash_json`
36+
- `scripts_hash_cbor`
37+
- `scripts_datum_hash`
38+
- `scripts_datum_hash_cbor`
39+
- `utils_tx_evaluate`
40+
- `utils_tx_evaluate_utxos`
3341

3442
## 0.2.1 - 2023-05-02
3543

examples/submit_transaction.xrs examples/submit_transaction.rs

+7-6
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
1-
use blockfrost::{BlockFrostApi, BlockFrostSettings};
1+
use blockfrost::{BlockFrostSettings, BlockfrostAPI, BlockfrostResult};
22

3-
fn build_api() -> blockfrost::Result<BlockFrostApi> {
4-
let configurations = load::configurations_from_env()?;
5-
let project_id = configurations["project_id"].as_str().unwrap();
6-
let api = BlockFrostApi::new(project_id, BlockFrostSettings::new());
3+
fn build_api() -> BlockfrostResult<BlockfrostAPI> {
4+
let api = BlockfrostAPI::new(
5+
"mainnetxvMK4xOpp5mHJgihi055KDLU64JJv2be",
6+
BlockFrostSettings::new(),
7+
);
78
Ok(api)
89
}
910

1011
#[tokio::main]
11-
async fn main() -> blockfrost::Result<()> {
12+
async fn main() -> BlockfrostResult<()> {
1213
let api = build_api()?;
1314

1415
// Should contain the correct cbor contents

0 commit comments

Comments
 (0)