The magical Python -> TON Portal
Project description
Rift
A magical Python3 -> TON portal
Rift is a full-stack development framework for TON (The Open Network) that makes it easy for developers to use Python to develop, test, and deploy smart contracts on the TON network. With Rift, you can leverage the simplicity and versatility of Python to build and interact with TON, without having to learn the complexities of FunC or Fift. For examples of how Rift simplifies these processes, visit Rift's website.
Features
- Develop smart contracts using Python syntax and OOP features
- Interact with the TON network to query data and deploy contracts
- Test smart contracts with an easy-to-use testing framework
- Standalone framework that only requires
Python 3.10 - Can be used at any stage of the project, from development to testing to deployment
Quick Start
- Install
Python 3.10+ - Install
riftpip install rift-framework # or from source git clone https://github.com/sky-ring/rift cd rift pip install -e .
- Initialize your project:
rift init <project-name>
- Develop your contracts in
<project>/contracts/ - Write your tests in
<project>/tests/ - Place your deploy scripts in
<project>/deployers/ - Use
riftto build, test, or deploy:# in project folder # builds TARGET rift build TARGET # tests TARGET rift test TARGET # deploys TARGET rift deploy TARGET
- For more information, visit the documentation website at docs.skyring.io/rift.
Guides
- Step-by-step guide on how to use
Riftto develop on TON: Coming Soon! - Step-by-step guide on integrating
Riftinto existingFunCprojects: Coming Soon!
Standard Contracts Implementation
- Jetton Implementation (jettons)
- NFT Implementation
- DEX Implementation
Roadmap
Milestone 1: Python Framework for Contract Development
- Semi One-to-One Mapping of Functions and Expressions (Base Compiler, Python -> FunC)
- First Higher Layer over the Base Mappings to Simplify Type Calls (leveraging OOP Capabilities)
- Second Higher Layer over the Base, Simplifying Contract Development towards Maximizing Code Reusability and Simplicity (leveraging Meta Programming Capabilities)
- Providing Standard Smart Contracts Implementation with Rift
Milestone 2: Deploying, Testing, Interaction Capabilities
- Simple Interaction Interface with TON Blockchain
- Simple Deploying Options of Developed Contracts
- Testing Framework for the Contracts Developed with Rift
Milestone 3: What's Next?
- Stay Tuned! We have extra plans that we will share soon with the community to further develop
Rift.
Support the Project
- If
Rifthas been a lifesaver for you, giving it a star on GitHub is the ultimate high five! - You can also show your love by contributing to
Riftthrough code, ideas, or even a kind word. - Feeling extra generous? Treat
Riftto a coffee by donating to this TON address:EQAIhZCDT7-pvweWh6c_76X7Dnv6Qlzt7-l1NNP8upZ_Areu - Finally, spreading the word about
Riftis a big boost for the project and helps us reach more people.
Contributing
If you're interested in contributing to Rift, please see CONTRIBUTING.md for the necessary specifications and procedures.
Supporters
Special thanks to the TON Society for their support and grant, without which the project would not be feasible.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file rift-framework-0.10.0.tar.gz.
File metadata
- Download URL: rift-framework-0.10.0.tar.gz
- Upload date:
- Size: 121.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.2.0 CPython/3.10.10 Linux/5.15.0-1033-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0cbec8e6ae4a7293245b98be7ae43145d1b6465d2aa8791b6e79b2082be546fa
|
|
| MD5 |
a961eecc63d5e61fc6d0c1203cdc632c
|
|
| BLAKE2b-256 |
2c5f5e5aa5bce6e393aaf523aa80355399fb85a5fbc203c73ddb0afac2587642
|
File details
Details for the file rift_framework-0.10.0-py3-none-any.whl.
File metadata
- Download URL: rift_framework-0.10.0-py3-none-any.whl
- Upload date:
- Size: 165.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.2.0 CPython/3.10.10 Linux/5.15.0-1033-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
38019bc2e040b68e4280d8dc500246b03b58a99dfba21406c72f8ced96c39840
|
|
| MD5 |
8b811027f9bccdc70874bacb86ca4dbb
|
|
| BLAKE2b-256 |
5526ecb21800e0292e36032932533c529b38534b4e0660c661d268d99e744873
|