Skip to main content

Soul Moment

An attempt to provide an implementation of SBT(Soul-bound token) in Cairo lang.

Brought to you by @ChecksFinance.

mit license

This module is implemented on StarkNet in Cairo language. Using this module requires that you have a basic understanding of the Cairo language and python.

Concepts

One of the most important concepts of SBT is non-transferable and verifiable split property rights. This basic logic is explored in a very simple way by implementing the issuance and verification of SBTs on L2's abstract account contracts.

Use this module in your project

pip install git+https://github.com/ChecksFinance/soul-moment.git

Then

from soulmoment.library import SoulMoment

you can find demo contracts in ./src/account and ./src/soulmoment

Set up the project

Create a Python virtual environment

python -m venv env
source env/bin/activate

📦 Install the requirements

pip install -r requirements.txt

Notice: this project use the latest version of OpenZeppelin contract for Cairo instead of the stable release of it.

⛏️ Compile

nile compile --directory src
nile compile src/soulmoment/account/SoulAccount.cairo --account_contract

🌡️ Test

# Run all tests
pytest tests

📄 License

soul-moment is released under the MIT.

Metadata

Release files for checksfinance-soulmoment 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for checksfinance-soulmoment 0.0.1
File Size Uploaded
checksfinance-soulmoment-0.0.1.tar.gz 8.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for checksfinance-soulmoment 0.0.1
File Interpreter ABI Platform
checksfinance_soulmoment-0.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 15.2 kB

Release files / checksfinance-soulmoment-0.0.1.tar.gz

Download URL checksfinance-soulmoment-0.0.1.tar.gz
Size 8.6 kB
Tags Source
SHA-256 checksum
How to use checksums
fa4e991de1c7793e563fbab95de3964d6eba8fc1497512b2da73cffd16e171b7
BLAKE2b-256 checksum
How to use checksums
c923e574e50a44195ebe865cd37de61a906edea79b4dee4af7a54618726016f8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.7.12

Release files / checksfinance_soulmoment-0.0.1-py3-none-any.whl

Download URL checksfinance_soulmoment-0.0.1-py3-none-any.whl
Size 6.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e900277735b100112268b168b7436b185cb25bc49212cc54bc74175fc54dc3e7
BLAKE2b-256 checksum
How to use checksums
c6849b0c91278888e07b66d457e8d1745b39467df601b52ac360c8e6025fb349
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.7.12

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page