Complete rebrand: Polkadot→Pezkuwi, Substrate→Bizinikiwi

- Replace PolkadotConfig with PezkuwiConfig
- Replace SubstrateConfig with BizinikiwConfig
- Rename config module files (polkadot.rs→pezkuwi.rs, substrate.rs→bizinikiwi.rs)
- Update all documentation and examples
- All 165 files updated, cargo check passes
This commit is contained in:
2025-12-21 21:42:34 +03:00
parent 99e4ee3ab8
commit 7af0bcd262
166 changed files with 2395 additions and 2395 deletions
+6 -6
View File
@@ -1,6 +1,6 @@
#![cfg(target_arch = "wasm32")]
use pezkuwi_subxt::config::SubstrateConfig;
use pezkuwi_subxt::config::BizinikiwConfig;
use pezkuwi_subxt::backend::rpc::reconnecting_rpc_client::RpcClient as ReconnectingRpcClient;
use wasm_bindgen_test::*;
@@ -12,10 +12,10 @@ wasm_bindgen_test::wasm_bindgen_test_configure!(run_in_browser);
// wasm-pack test --firefox --headless`
// ```
//
// You'll need to have a substrate node running:
// You'll need to have a bizinikiwi node running:
//
// ```bash
// ./substrate-node --dev --node-key 0000000000000000000000000000000000000000000000000000000000000001 --listen-addr /ip4/0.0.0.0/tcp/30333/ws
// ./bizinikiwi-node --dev --node-key 0000000000000000000000000000000000000000000000000000000000000001 --listen-addr /ip4/0.0.0.0/tcp/30333/ws
// ```
//
// Use the following to enable logs:
@@ -28,7 +28,7 @@ wasm_bindgen_test::wasm_bindgen_test_configure!(run_in_browser);
async fn wasm_ws_transport_works() {
console_error_panic_hook::set_once();
tracing_wasm::set_as_global_default();
let client = pezkuwi_subxt::client::OnlineClient::<SubstrateConfig>::from_url("ws://127.0.0.1:9944")
let client = pezkuwi_subxt::client::OnlineClient::<BizinikiwConfig>::from_url("ws://127.0.0.1:9944")
.await
.unwrap();
let hasher = client.hasher();
@@ -41,7 +41,7 @@ async fn wasm_ws_transport_works() {
async fn wasm_ws_chainhead_works() {
let rpc = pezkuwi_subxt::backend::rpc::RpcClient::from_url("ws://127.0.0.1:9944").await.unwrap();
let backend = pezkuwi_subxt::backend::chain_head::ChainHeadBackendBuilder::new().build_with_background_driver(rpc);
let client = pezkuwi_subxt::client::OnlineClient::<SubstrateConfig>::from_backend(std::sync::Arc::new(backend)).await.unwrap();
let client = pezkuwi_subxt::client::OnlineClient::<BizinikiwConfig>::from_backend(std::sync::Arc::new(backend)).await.unwrap();
let hasher = client.hasher();
let mut stream = client.backend().stream_best_block_headers(hasher).await.unwrap();
@@ -51,7 +51,7 @@ async fn wasm_ws_chainhead_works() {
#[wasm_bindgen_test]
async fn reconnecting_rpc_client_ws_transport_works() {
let rpc = ReconnectingRpcClient::builder().build("ws://127.0.0.1:9944".to_string()).await.unwrap();
let client = pezkuwi_subxt::client::OnlineClient::<SubstrateConfig>::from_rpc_client(rpc.clone()).await.unwrap();
let client = pezkuwi_subxt::client::OnlineClient::<BizinikiwConfig>::from_rpc_client(rpc.clone()).await.unwrap();
let hasher = client.hasher();
let mut stream = client.backend().stream_best_block_headers(hasher).await.unwrap();