PIL 등록하기
0) Prerequisites
1) 상업적 용도 라이선스 만들기
const commercialUseParams = {
currency: '0xB132A6B7AE652c974EE1557A3521D53d18F6739f', // see the above note on whitelisted revenue tokens
defaultMintingFee: '10' // 10 of the currency (using the above currency, 10 MERC20)
}
const response = await client.license.registerCommercialUsePIL({
...commercialUseParams,
txOptions: { waitForTransaction: true }
});
console.log(`PIL Terms registered at transaction hash ${response.txHash}, License Terms ID: ${response.licenseTermsId}`) 2) 상업적 리믹스 라이선스 만들기
3) 비상업적 소셜 리믹스 라이선스 만들기
Reference
Last updated