Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature: integrate publication contract with community & channel cont… #130

Merged
merged 2 commits into from
Oct 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .all-contributorsrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"projectName": "karst-core",
"projectName": "coloniz-core",
"projectOwner": "horuslabsio",
"files": [
"README.md"
Expand Down
4 changes: 2 additions & 2 deletions CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# KARST Code of Conduct
# coloniz Code of Conduct

## Preamble

The KARST Community was created to foster an open, innovative and inclusive community around open source development.
The coloniz Community was created to foster an open, innovative and inclusive community around open source development.
To clarify expected behaviour in our community we have adopted the Contributor Covenant. This code of conduct
has been adopted by many other open source communities and we feel it expresses our values well.

Expand Down
12 changes: 6 additions & 6 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
# Contributing to KARST
# Contributing to coloniz

The KARST team maintains guidelines for contributing to the KARST project repository.
The coloniz team maintains guidelines for contributing to the coloniz project repository.

### Code of Conduct

Have you read the [code of conduct](https://github.com/horuslabsio/karst-core/blob/master/CODE_OF_CONDUCT.md)?
Have you read the [code of conduct](https://github.com/horuslabsio/coloniz-core/blob/master/CODE_OF_CONDUCT.md)?

## Bugs and Feature Request

Before you make your changes, check to see if an [issue](https://github.com/horuslabsio/karst-coreissues) exists already for the change you want to make.
Before you make your changes, check to see if an [issue](https://github.com/horuslabsio/coloniz-coreissues) exists already for the change you want to make.

### Don't see your issue? Open one

If you spot something new, open an issue using a [template](https://github.com/horuslabsio/karst-core/issues/new/choose). We'll use the issue to have a conversation about the problem you want to fix.
If you spot something new, open an issue using a [template](https://github.com/horuslabsio/coloniz-core/issues/new/choose). We'll use the issue to have a conversation about the problem you want to fix.

### Open a Pull Request

Expand All @@ -34,7 +34,7 @@ Please do:

- **DO** give priority to the current style of the project or file you're changing even if it diverges from the general guidelines.
- **DO** include tests when adding new features. When fixing bugs, start with adding a test that highlights how the current behavior is broken.
- **DO** especially follow our rules in the [Contributing](https://github.com/horuslabsio/karst-core/master/CODE_OF_CONDUCT.md#contributing) section of our code of conduct.
- **DO** especially follow our rules in the [Contributing](https://github.com/horuslabsio/coloniz-core/master/CODE_OF_CONDUCT.md#contributing) section of our code of conduct.

Please do not:

Expand Down
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
</a>
</p>

Karst is a permissionless and composable social graph built on Starknet, empowering creators to own every part of their social experience.
coloniz is a permissionless and composable social graph built on Starknet, empowering creators to own every part of their social experience.

With Karst, creators no longer need to worry about losing their content, audience, and livelihood based on the whims of an individual platform's algorithms and policies.
With coloniz, creators no longer need to worry about losing their content, audience, and livelihood based on the whims of an individual platform's algorithms and policies.

## Development Setup
You will need to have Scarb and Starknet Foundry installed on your system. Refer to the documentations below:
Expand All @@ -22,8 +22,8 @@ You will need to have Scarb and Starknet Foundry installed on your system. Refer

To use this repository, first clone it:
```
git clone [email protected]:horuslabsio/karst-core.git
cd karst-core
git clone [email protected]:horuslabsio/coloniz-core.git
cd coloniz-core
```

### Building contracts
Expand All @@ -48,22 +48,22 @@ For more information on writing and running tests, refer to the [Starknet-Foundr

## Contributing

BEFORE you start work on a feature or fix, please read and follow our [contribution guide](https://github.com/horuslabsio/karst-core/blob/master/CONTRIBUTING.md) to help avoid any wasted or duplicate effort.
BEFORE you start work on a feature or fix, please read and follow our [contribution guide](https://github.com/horuslabsio/coloniz-core/blob/master/CONTRIBUTING.md) to help avoid any wasted or duplicate effort.

## Security

If you believe you have found a security vulnerability in our code, please report it to us as described in our [security policy](https://github.com/horuslabsio/karst-core/blob/master/SECURITY.md).
If you believe you have found a security vulnerability in our code, please report it to us as described in our [security policy](https://github.com/horuslabsio/coloniz-core/blob/master/SECURITY.md).

## License

KARST is an open-source software licensed under the [MIT](https://github.com/horuslabsio/karst-core/blob/master/LICENSE.md).
coloniz is an open-source software licensed under the [MIT](https://github.com/horuslabsio/coloniz-core/blob/master/LICENSE.md).


## Architecture

Check out the contract architecture below, and join our [working group](https://t.me/+DFfuHjLkeXlkNTg0).

<img width="100%" alt="Screenshot 2024-05-24 at 00 11 16" src="https://github.com/horuslabsio/karst-core/blob/main/img/architecture.png?raw=true">
<img width="100%" alt="Screenshot 2024-05-24 at 00 11 16" src="https://github.com/horuslabsio/coloniz-core/blob/main/img/architecture.png?raw=true">

## Contributors

Expand Down
2 changes: 1 addition & 1 deletion Scarb.lock
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ dependencies = [
]

[[package]]
name = "karst"
name = "coloniz"
version = "0.1.0"
dependencies = [
"alexandria_bytes",
Expand Down
6 changes: 3 additions & 3 deletions Scarb.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
[package]
name = "karst"
name = "coloniz"
version = "0.1.0"
edition = "2024_07"
authors = ["Horus Labs <[email protected]>"]
description = "Decentralized Social Graph on Starknet"
repository = "https://github.com/horuslabsio/karst-core"
keywords = ["Karst", "SocialFi", "tokenbound", "cairo", "contracts", "starknet"]
repository = "https://github.com/horuslabsio/coloniz-core"
keywords = ["coloniz", "SocialFi", "tokenbound", "cairo", "contracts", "starknet"]

# See more keys and their definitions at https://docs.swmansion.com/scarb/docs/reference/manifest.html

Expand Down
2 changes: 1 addition & 1 deletion scripts/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "karst_scripts",
"name": "coloniz_scripts",
"version": "1.0.0",
"type": "module",
"main": "index.ts",
Expand Down
4 changes: 2 additions & 2 deletions scripts/readme.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Karst Deployment Script
# coloniz Deployment Script

This script facilitates the deployment of contracts within the Karst project. Follow the steps below to set up and run the deployment script for your desired contract.
This script facilitates the deployment of contracts within the coloniz project. Follow the steps below to set up and run the deployment script for your desired contract.

## Prerequisites

Expand Down
2 changes: 1 addition & 1 deletion scripts/src/abi/handle.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion scripts/src/abi/handleRegistry.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
[{"type":"impl","name":"HandleRegistryImpl","interface_name":"karst::interfaces::IHandleRegistry::IHandleRegistry"},{"type":"struct","name":"core::integer::u256","members":[{"name":"low","type":"core::integer::u128"},{"name":"high","type":"core::integer::u128"}]},{"type":"interface","name":"karst::interfaces::IHandleRegistry::IHandleRegistry","items":[{"type":"function","name":"link","inputs":[{"name":"handle_id","type":"core::integer::u256"},{"name":"profile_address","type":"core::starknet::contract_address::ContractAddress"}],"outputs":[],"state_mutability":"external"},{"type":"function","name":"unlink","inputs":[{"name":"handle_id","type":"core::integer::u256"},{"name":"profile_address","type":"core::starknet::contract_address::ContractAddress"}],"outputs":[],"state_mutability":"external"},{"type":"function","name":"resolve","inputs":[{"name":"handle_id","type":"core::integer::u256"}],"outputs":[{"type":"core::starknet::contract_address::ContractAddress"}],"state_mutability":"view"},{"type":"function","name":"get_handle","inputs":[{"name":"profile_address","type":"core::starknet::contract_address::ContractAddress"}],"outputs":[{"type":"core::integer::u256"}],"state_mutability":"view"}]},{"type":"constructor","name":"constructor","inputs":[{"name":"handle_address","type":"core::starknet::contract_address::ContractAddress"}]},{"type":"event","name":"karst::namespaces::handle_registry::HandleRegistry::HandleLinked","kind":"struct","members":[{"name":"handle_id","type":"core::integer::u256","kind":"data"},{"name":"profile_address","type":"core::starknet::contract_address::ContractAddress","kind":"data"},{"name":"caller","type":"core::starknet::contract_address::ContractAddress","kind":"data"},{"name":"timestamp","type":"core::integer::u64","kind":"data"}]},{"type":"event","name":"karst::namespaces::handle_registry::HandleRegistry::HandleUnlinked","kind":"struct","members":[{"name":"handle_id","type":"core::integer::u256","kind":"data"},{"name":"profile_address","type":"core::starknet::contract_address::ContractAddress","kind":"data"},{"name":"caller","type":"core::starknet::contract_address::ContractAddress","kind":"data"},{"name":"timestamp","type":"core::integer::u64","kind":"data"}]},{"type":"event","name":"karst::namespaces::handle_registry::HandleRegistry::Event","kind":"enum","variants":[{"name":"Linked","type":"karst::namespaces::handle_registry::HandleRegistry::HandleLinked","kind":"nested"},{"name":"Unlinked","type":"karst::namespaces::handle_registry::HandleRegistry::HandleUnlinked","kind":"nested"}]}]
[{"type":"impl","name":"HandleRegistryImpl","interface_name":"coloniz::interfaces::IHandleRegistry::IHandleRegistry"},{"type":"struct","name":"core::integer::u256","members":[{"name":"low","type":"core::integer::u128"},{"name":"high","type":"core::integer::u128"}]},{"type":"interface","name":"coloniz::interfaces::IHandleRegistry::IHandleRegistry","items":[{"type":"function","name":"link","inputs":[{"name":"handle_id","type":"core::integer::u256"},{"name":"profile_address","type":"core::starknet::contract_address::ContractAddress"}],"outputs":[],"state_mutability":"external"},{"type":"function","name":"unlink","inputs":[{"name":"handle_id","type":"core::integer::u256"},{"name":"profile_address","type":"core::starknet::contract_address::ContractAddress"}],"outputs":[],"state_mutability":"external"},{"type":"function","name":"resolve","inputs":[{"name":"handle_id","type":"core::integer::u256"}],"outputs":[{"type":"core::starknet::contract_address::ContractAddress"}],"state_mutability":"view"},{"type":"function","name":"get_handle","inputs":[{"name":"profile_address","type":"core::starknet::contract_address::ContractAddress"}],"outputs":[{"type":"core::integer::u256"}],"state_mutability":"view"}]},{"type":"constructor","name":"constructor","inputs":[{"name":"handle_address","type":"core::starknet::contract_address::ContractAddress"}]},{"type":"event","name":"coloniz::namespaces::handle_registry::HandleRegistry::HandleLinked","kind":"struct","members":[{"name":"handle_id","type":"core::integer::u256","kind":"data"},{"name":"profile_address","type":"core::starknet::contract_address::ContractAddress","kind":"data"},{"name":"caller","type":"core::starknet::contract_address::ContractAddress","kind":"data"},{"name":"timestamp","type":"core::integer::u64","kind":"data"}]},{"type":"event","name":"coloniz::namespaces::handle_registry::HandleRegistry::HandleUnlinked","kind":"struct","members":[{"name":"handle_id","type":"core::integer::u256","kind":"data"},{"name":"profile_address","type":"core::starknet::contract_address::ContractAddress","kind":"data"},{"name":"caller","type":"core::starknet::contract_address::ContractAddress","kind":"data"},{"name":"timestamp","type":"core::integer::u64","kind":"data"}]},{"type":"event","name":"coloniz::namespaces::handle_registry::HandleRegistry::Event","kind":"enum","variants":[{"name":"Linked","type":"coloniz::namespaces::handle_registry::HandleRegistry::HandleLinked","kind":"nested"},{"name":"Unlinked","type":"coloniz::namespaces::handle_registry::HandleRegistry::HandleUnlinked","kind":"nested"}]}]
Loading
Loading