-
Notifications
You must be signed in to change notification settings - Fork 115
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
First step of migrating to a monorepo: * 1155 contracts moved into a yarn workspace, at `packages/1155-contracts` * Added turborepo for the build/test/other ci task pipelines * Updated github workflows to account for running tasks using turborepo pipelines * added readme to root
- Loading branch information
Showing
175 changed files
with
913 additions
and
140 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,4 +11,4 @@ jobs: | |
uses: ./.github/actions/setup_deps | ||
|
||
- name: Run prettier | ||
run: yarn run prettier:check | ||
run: yarn lint |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
auto-install-peers = true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,42 @@ | ||
# ZORA 1155 Contracts | ||
# Zora Protcool | ||
|
||
The Zora Creator 1155 Contracts are the 1155 complement to the Zora 721 Drops Contracts. While the 721 Drops Contracts enable creators to mint unique, non-fungible tokens (NFTs), the 1155 Contracts allow creators to mint semi-fungible tokens with a set of flexible properties. | ||
This repository is a monorepo for the Protcol | ||
|
||
The main implementation of the Zora Creator 1155 Contracts includes the following modules: | ||
In it you will find: | ||
|
||
- Metadata Control | ||
- Royalties Control | ||
- Minting Control | ||
- Permissions Control | ||
- Royalties Controls | ||
|
||
Most controls exist on a per-contract and per-token level. Per contract level is defined as any configuration existing in the pre-reserved 0 token space. | ||
- [Zora 1155 Contracts](./packages/1155-contracts) | ||
|
||
## Official docs | ||
|
||
[View the official docs](https://docs.zora.co/docs/smart-contracts/creator-tools/Deploy1155Contract) | ||
[View the official docs](https://docs.zora.co/docs/smart-contracts/creator-tools/intro) | ||
|
||
## Bug Bounty | ||
## Setup | ||
|
||
5 ETH for any critical bugs that could result in loss of funds. Rewards will be given for smaller bugs or ideas. | ||
Install prerequisites: | ||
|
||
* [Node.js and yarn](https://classic.yarnpkg.com/lang/en/docs/install/#mac-stable) | ||
* [Foundry](https://book.getfoundry.sh/getting-started/installation) | ||
|
||
Install dependencies: | ||
|
||
yarn | ||
|
||
## Publishing a new version to npm | ||
Build contracts: | ||
|
||
Generate a new changeset in your branch with: | ||
yarn build | ||
|
||
npx changeset | ||
Run tests: | ||
|
||
When the branch is merged to main, the versions will be automatically updated in the corresponding packages. | ||
yarn test | ||
|
||
Run in development mode (watch tests): | ||
|
||
yarn dev | ||
|
||
## Bug Bounty | ||
|
||
5 ETH for any critical bugs that could result in loss of funds. Rewards will be given for smaller bugs or ideas. | ||
|
||
To publish the updated version: | ||
## Development workflow | ||
|
||
yarn publish-packages | ||
See [DEVELOPMENT.md](./DEVELOPMENT.md) |
Oops, something went wrong.