npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@cdxprotocol/core

v1.0.1

Published

a set of solidity contracts that implement the core functionalities, PR displays and on chain interactions.

Downloads

152

Readme

  ________/\\\\\\\\\___/\\\\\\\\\\\\______/\\\_______/\\\_
   _____/\\\////////___\/\\\////////\\\___\///\\\___/\\\/__
    ___/\\\/____________\/\\\______\//\\\____\///\\\\\\/____
     __/\\\______________\/\\\_______\/\\\______\//\\\\______
      _\/\\\______________\/\\\_______\/\\\_______\/\\\\______
       _\//\\\_____________\/\\\_______\/\\\_______/\\\\\\_____
        __\///\\\___________\/\\\_______/\\\______/\\\////\\\___
         ____\////\\\\\\\\\__\/\\\\\\\\\\\\/_____/\\\/___\///\\\_
          _______\/////////___\////////////______\///_______\///__

CDX

System Overview

  • CDX-core: a set of solidity contracts that implement the core functionalities, PR displays and on chain interactions.

  • CDX-operator: a light-weighted NodeJS service that handles customer front-end requests. The operator service is also the main point of entry for maintenance, customer inquiry, and manual upgrade, system servicing for our tech team.

  • CDX-modulator: a high durability, high throughput, medium latency, high privilege service that runs in the backend of customer service flow and oversees CDX core for certain sub-routines that don't fit in the solidity world, such as hedging, arbitrage, pricing, sourcing etc.

  • CDX-bridge: a separate service much like the CDX-modulator but stand alone in different service stacks for security and operational reasons. The CDX-bridge monitors the balance sheets between the main Contract wallet [definition] and the vault. This service in theory should preserve the gain/loss balance between these wallets and is responsible for providing customer rewards to the main Contract.

Protocol Overview

Getting Started CDX-core

  • Install node
  • Create an environment file named .env and fill the next environment variables
# Add Alchemy or Infura provider keys, alchemy takes preference at the config level

ETHERSCAN_API_KEY=""
PRIVATE_KEY = ""
FORKING=""
GOERLI= ""

Clone

git clone https://github.com/Web3Z-Labs/CDX-core.git

cd CDX-core

Installation

yarn or npm install

Compile

yarn compile or npm run compile

Test

yarn test or npm run test

Verify

npx hardhat verify --network <NETWORK> <CONTRACT_ADDRESS> <CONSTRUCTOR_PARAMETERS>

Download Hardhat

Follow the Openzeppelin guide

Develop tracking issues: Linear