feat: initialize Kurdistan SDK - independent fork of Polkadot SDK

This commit is contained in:
2025-12-13 15:44:15 +03:00
commit e4778b4576
6838 changed files with 1847450 additions and 0 deletions
@@ -0,0 +1,48 @@
## Start the node
Start the kitchensink node:
```bash
RUST_LOG="error,evm=debug,sc_rpc_server=info,runtime::revive=debug" cargo run --bin substrate-node -- --dev
```
## Start a zombienet network
Alternatively, you can start a zombienet network with the zagros Asset Hub teyrchain:
Prerequisites for running a local network:
- download latest [zombienet release](https://github.com/paritytech/zombienet/releases);
- build PezkuwiChain binary by running `cargo build -p pezkuwi --release --features fast-runtime` command in the
[`pezkuwi-sdk`](https://github.com/pezkuwichain/pezkuwi-sdk) repository clone;
- build PezkuwiChain Teyrchain binary by running `cargo build -p pezkuwi-teyrchain-bin --release` command in the
[`pezkuwi-sdk`](https://github.com/pezkuwichain/pezkuwi-sdk) repository clone;
```bash
zombienet spawn --provider native zagros_local_network.toml
```
## Start the RPC server
This command starts the Ethereum JSON-RPC server, which runs on `localhost:8545` by default:
```bash
RUST_LOG="info,eth-rpc=debug" cargo run -p pallet-revive-eth-rpc -- --dev
```
## Rust examples
Run one of the examples from the `examples` directory to send a transaction to the node:
```bash
RUST_LOG="info,eth-rpc=debug" cargo run -p pallet-revive-eth-rpc --example deploy
```
## JS examples
JS examples have been moved to the [evm-test-suite](https://github.com/paritytech/evm-test-suite) repository.
### Configure MetaMask
See the doc [here](https://contracts.polkadot.io/work-with-a-local-node#metemask-configuration) for more
information on how to configure MetaMask.