Skip to content

Commit

Permalink
add premint
Browse files Browse the repository at this point in the history
  • Loading branch information
iainnash committed Oct 20, 2023
1 parent e4776d6 commit 1863881
Show file tree
Hide file tree
Showing 7 changed files with 194 additions and 167 deletions.
2 changes: 0 additions & 2 deletions packages/1155-contracts/.env.anvil

This file was deleted.

50 changes: 11 additions & 39 deletions packages/1155-contracts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,28 +6,6 @@
"license": "MIT",
"main": "./dist/index.js",
"types": "./dist/package/index.d.ts",
"exports": {
"./premint-api": {
"require": "./dist/premint-api.cjs",
"import": "./dist/premint-api.js",
"types": "./dist/package/premint-api.d.ts"
},
".": {
"require": "./dist/index.cjs",
"import": "./dist/index.js",
"types": "./dist/package/index.d.ts"
}
},
"typesVersions": {
"*": {
".": [
"./dist/package/index.d.ts"
],
"./premint-api": [
"./dist/package/premint-api.d.ts"
]
}
},
"type": "module",
"scripts": {
"test": "forge test",
Expand All @@ -49,9 +27,7 @@
"bundle-configs": "node script/bundle-chainConfigs.mjs && yarn prettier",
"wagmi": "wagmi generate",
"storage-inspect:check": "./script/storage-check.sh check ZoraCreator1155Impl ZoraCreator1155FactoryImpl",
"storage-inspect:generate": "./script/storage-check.sh generate ZoraCreator1155Impl ZoraCreator1155FactoryImpl",
"js-test:watch": "vitest dev",
"anvil": "source .env.anvil && anvil --fork-url $FORK_RPC_URL --fork-block-number $FORK_BLOCK_NUMBER --chain-id 31337"
"storage-inspect:generate": "./script/storage-check.sh generate ZoraCreator1155Impl ZoraCreator1155FactoryImpl"
},
"files": [
"dist/",
Expand All @@ -65,29 +41,25 @@
],
"dependencies": {
"@openzeppelin/contracts": "4.9.2",
"@wagmi/cli": "^1.0.1",
"@zoralabs/openzeppelin-contracts-upgradeable": "4.8.4",
"@zoralabs/protocol-rewards": "*",
"abitype": "^0.8.7",
"ds-test": "https://github.com/dapphub/ds-test#cd98eff28324bfac652e63a239a60632a761790b",
"es-main": "^1.2.0",
"forge-std": "https://github.com/foundry-rs/forge-std#705263c95892a906d7af65f0f73ce8a4a0c80b80",
"glob": "^10.2.2",
"prettier": "^2.8.8",
"prettier-plugin-solidity": "^1.1.3",
"solady": "^0.0.123",
"solmate": "^6.1.0",
"tsup": "^7.2.0",
"tsx": "^3.13.0",
"typescript": "^5.0.4",
"viem": "^1.16.2",
"vite": "^4.1.4",
"vitest": "~0.30.1"
"solmate": "^6.1.0"
},
"devDependencies": {
"@wagmi/cli": "^1.0.1",
"tsx": "^3.13.0",
"glob": "^10.2.2",
"prettier": "^2.8.8",
"es-main": "^1.2.0",
"@turnkey/api-key-stamper": "^0.1.1",
"prettier-plugin-solidity": "^1.1.3",
"@turnkey/http": "^1.2.0",
"@turnkey/viem": "^0.2.4",
"@types/node": "^20.1.2"
"@types/node": "^20.1.2",
"tsup": "^7.2.0",
"typescript": "^5.0.4"
}
}
Empty file added packages/premint-sdk/README.md
Empty file.
14 changes: 9 additions & 5 deletions packages/premint-sdk/package.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,20 @@
{
"name": "premint-sdk",
"version": "1.0.0",
"main": "index.js",
"name": "@zoralabs/premint-sdk",
"version": "0.0.1",
"repository": "https://github.com/ourzora/zora-protocol",
"license": "MIT",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"type": "module",
"scripts": {
"build": "tsup",
"prepack": "yarn build",
"test": "vitest src"
"test": "vitest src",
"anvil": "source .env.anvil && anvil --fork-url $FORK_RPC_URL --fork-block-number $FORK_BLOCK_NUMBER --chain-id 31337"
},
"dependencies": {
"@zoralabs/zora-1155-contracts": "*"
"@zoralabs/zora-1155-contracts": "*",
"abitype": "^0.8.7"
},
"devDependencies": {
"typescript": "^5.2.2",
Expand Down
Loading

0 comments on commit 1863881

Please sign in to comment.