Necesito Programar Más

    @namespace-domains/contracts

    0.1.87 • Public • Published

    Namespace - Smart Contracts

    ci npm

    This repository contains the smart contracts that are used to create and manage Namespace domains and their associated records.

    Install

    Install Node and then run the following commands:

    yarn install
    

    Install Python and then run the following commands:

    pip install -r configurations/requirements.txt
    

    Usage

    Format and run all linters:

    yarn lint
    

    Compile solidity contracts:

    yarn build
    

    Run unit tests:

    yarn test:unit
    

    In order to deploy the contracts and run integration tests you will need to setup the following environment variables:

    • INFURA_PROJECT_ID: Register an Infura account and create a new project.
    • ETHEREUM_PRIVATE_KEY: Private key of a wallet with sufficient funds to cover any transaction fees.
    • ETHERSCAN_API_KEY: Register an Etherscan account and create a new API KEY.

    Deploy contracts:

    yarn deploy --network <name>
    

    Run integration tests:

    yarn test:integration --network <name>
    

    Security

    WIP

    Documentation

    WIP

    Install

    npm i @namespace-domains/contracts

    DownloadsWeekly Downloads

    0

    Version

    0.1.87

    License

    MIT

    Unpacked Size

    76.8 kB

    Total Files

    62

    Last publish

    Collaborators

    • bidin