Skip to content

Commit

Permalink
Update SDK according to PoC Periphery Supported Workflows (#292)
Browse files Browse the repository at this point in the history
* Remove collectRoyaltyTokens methods and Update getRoyaltyVaultAddress method

* Update createNFTCollection params

* Update contract addresses

* Update unit and integration tests

* Add mintAndRegisterIp method in ipAsset

* Refactor validate license terms

* Add registerPilTermsAndAttach method in ipAsset

* Adjust related methods referencing address

* Add todo hint

* Add registerIpAndMakeDerivativeWithLicenseTokens method in IpAsset module

* Add transferToVaultAndSnapshotAndClaimByTokenBatch method

* Add royalty related workflow methods

* Solve ERC721 error

* Add group workflow relate methods

* Update new contract address

* Add debugger log

* Add registerGroupAndAttachLicenseAndAddIps unit tests

* Solve invalid signature and royalty error

* Add the related methods unit tests

* Add tests and enhance code

* Remove license terms register check

* Add integration tests in command

* Update group pool description

* Skip integration tests
  • Loading branch information
bonnie57 authored Oct 19, 2024
1 parent 27831ef commit 0bd3de2
Show file tree
Hide file tree
Showing 42 changed files with 19,398 additions and 7,277 deletions.
2 changes: 1 addition & 1 deletion packages/core-sdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
],
"scripts": {
"build": "pnpm run fix && preconstruct build",
"test": "pnpm run test:unit && pnpm run test:integration",
"test": "pnpm run test:unit",
"test:unit": "TS_NODE_PROJECT='./tsconfig.test.json' c8 --all --src ./src mocha -r ts-node/register './test/unit/**/*.test.ts'",
"test:integration": "TS_NODE_PROJECT='./tsconfig.test.json' mocha -r ts-node/register './test/integration/**/*.test.ts' --timeout 240000",
"fix": "pnpm run format:fix && pnpm run lint:fix",
Expand Down
Loading

0 comments on commit 0bd3de2

Please sign in to comment.