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
Binary file not shown.
@@ -0,0 +1,20 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.20;
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
contract MyToken is ERC20 {
constructor(uint256 total) ERC20("TestToken1", "TT1") {
// We mint `total` tokens to the creator of this contract, as
// a sort of genesis.
_mint(msg.sender, total);
}
function mint(uint256 amount) public {
_mint(msg.sender, amount);
}
function burn(uint256 amount) public {
_burn(msg.sender, amount);
}
}
@@ -0,0 +1,21 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.20;
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
contract MyToken is ERC20 {
constructor(uint256 total) ERC20("TestToken1", "TT1") {
// We mint `total` tokens to the creator of this contract, as
// a sort of genesis.
_mint(msg.sender, total);
}
function transfer(address to, uint256 value) public override returns (bool) {
address owner = msg.sender;
_transfer(owner, to, value);
for (uint256 i = 0; i < 1000000; i++) {
keccak256(abi.encode(i));
}
return true;
}
}