Skip to content

sci-domains/core

Repository files navigation

Secure Contract Interaction V1 (SCI)

The Secure Contract Interaction (SCI) Protocol is an open-source initiative aimed at enhancing security within the web3 ecosystem. It introduces a decentralized verification system allowing domain owners to authorize specific smart contracts to interact with their domains, thus minimizing risks associated with malicious contracts.

Features

  • Decentralized Verification: Verify contracts authorized to interact with specific domains.
  • Flexibility: Easily integrate into wallets, security apps, and on-chain contracts.
  • Open-Source: Free to use and contribute to, promoting transparency and collaboration.
  • Enhanced Security: Protect users from interacting with malicious smart contracts.

Docs

For more information you can read the Whitepaper

Installation

Prerequisites

Steps

  1. Clone the repository:
git clone git@github.com:sci-domains/core.git
  1. Navigate to the project directory:
cd core
  1. Install and use node with nvm:
nvm install
nvm use
  1. Install dependencies using Pnpm:
pnpm install

Scripts

Compile Solidity contracts:

pnpm compile

Run tests:

pnpm test

Deploy:

For the deployments we use hardhat ignition

pnpm deploy:<network>

To add a new chain you need to add a new configuration inside parameters and add a new script in the package.json

You can deploy specific modules using hardhat ignition

After running the deployment, make sure to add the addresses to the deployment.json file

pnpm save:deployments

Development:

You can execute the following commands to run a local node and deploy the ENS Registry with the contracts from the protocol

pnpm node
// In another terminal
pnpm dev

Contributing

Please see our contribution guidelines.

Maintainers

SCI is an open-source community project governed by a core team.

License

This project is licensed under the MIT License.

About

Core Smart contracts

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published