Skip to content

codexfield/codex-marketplace

Repository files navigation

codex-contracts

codex-contracts is the contracts repo for CodexField.

Install

To install dependencies:

git clone https://github.com/codexfield/codex-contracts.git && cd codex-contracts
yarn install
forge install

Deploy

  1. Copy .env.example and setup OP_PRIVATE_KEY and OWNER_PRIVATE_KEY in .env.
cp .env.example .env
  1. Deploy with foundry.
source .env
forge script ./script/1-deploy.s.sol --rpc-url ${RPC_TESTNET} --legacy --broadcast --private-key ${OP_PRIVATE_KEY} --via-ir

Test

Test with foundry after deploying:

forge test --rpc-url ${RPC_TESTNET}

License

The CodexField contracts (i.e. all code inside the contracts directory) are licensed under the GNU Affero General Public License v3.0, also included in our repository in the COPYING file.

Disclaimer

The software and related documentation are under active development, all subject to potential future change without notification and not ready for production use. The code and security audit have not been fully completed and not ready for any bug bounty. We advise you to be careful and experiment on the network at your own risk. Stay safe out there.

Releases

No releases published

Packages

No packages published