Cteker (Cryptocurrency Transaction Maker) is a REST API web project built with Python FastAPI to send cryptocurrency across multiple blockchain networks.
Cteker is currently under development and has not been fully tested. Use at your own risk.
- EVM: ✅
- TRON: ✅
- Solana: 🔜 (Coming Soon)
- TON: ✅
- Bitcoin: 🔜 (Coming Soon)
- Litecoin: 🔜 (Coming Soon)
- Dogecoin: 🔜 (Coming Soon)
- SUI: 🔜 (Coming Soon)
- SEI: 🔜 (Coming Soon)
Cteker provides a robust and efficient way to handle multiple coins and tokens using a unified abstraction layer. Here’s why Cteker is the right choice for your blockchain development needs:
-
Multi-Coin and Multi-Token Support
Cteker supports a wide range of coins and tokens under the same abstraction, enabling seamless integration and management.
-
Expandable Network and Token Support
Easily add new networks or tokens using the existing abstraction, making Cteker highly adaptable to your project’s requirements.
-
Automatic Nonce Management
Cteker automatically handles nonces, ensuring reliable support for multiple simultaneous transactions without manual intervention.
-
Simplified Request Handling
Just send your request to Cteker, and let it manage the complexities. With Cteker, you can focus on your application logic while we handle the underlying processes.
- Python 3.10 or newer 🐍
- Redis server 🟥
- Git 🛠️
- Python libraries specified in
requirements.txt📦
Follow these steps to set up and run the project:
-
Clone the repository 🖥️
git clone https://github.com/salismazaya/cteker
-
Copy
.env.exampleto.env📂cp .env.example .env
-
Fill in
.envwith your values 🔑 -
(Optional) Create and activate a virtual environment 🌱 Follow this guide if needed.
-
Install dependencies 📦
pip install -r requirements.txt
-
(Optional) Create a New File for Custom Networks You can create a new file at
networks/custom_networks.pyto define custom networks.# networks/custom_networks.py from core.evm.evm_flexible import EvmFlexible networks = [ EvmFlexible( "custom-eth-mainnet", # unique id "Ethereum Mainnet", # network name "ETH", # network symbol "ETHUSDT", # binance ticker "https://eth.drpc.org", # http rpc url "https://etherscan.io/tx/" # explorer ), ]
-
Run the FastAPI server
▶️ granian --interface asgi main:app
Granian is a Rust HTTP server for Python applications. You can read more about it here.
-
Access Documentation
Open the documentation in your browser at: http://127.0.0.1:8000/docs -
🎉 Enjoy your API!
- Email: salismazaya@gmail.com
- Website: https://salism3.dev
- Telegram: @salismftah
Happy coding! 💻✨