블록체인/퍼블릭 블록체인
IMX 구조도 정리
체인의정석
2021. 11. 26. 16:20
728x90
Minting Assets
Pre requisite 1
- 먼저 화이트리스트를 신청 후 인터페이스 상속시키기
- Proxy Contract에 트랜잭션을 보냄
Pre requisite 2
- Mintable CA
- API URL - Meta data
- Owner Pub Key deployed contract => 주소가 아닌 진짜 pubKey
Pre requisite 3
- User registration
1. 토큰 민팅
{
"mints":
[{
"user": "0x...",
"tokens": [{
"type": "ERC721",
"data": {
"id": "<asset ID>", // custom asset ID (it's possible to make this the ERC-721 token ID depending on the mintable contract implementation)
"blueprint": "<on-chain metadata>",
"token_address": "0x..."
}
}],
"auth_signature": "0x..." // signature signed by the contract owner
}]
}
blue print => 온체인 저장 불면 데이터,
유저의 auth_signature => contract owner가 사인한 데이터
인출도 같은 패턴
728x90
반응형