✅Register
Registering NFTs allow them to be used as reactions in the RARA protocol.
L1 registrations use the RootRegistrar ABI, L2 registrations use the MakerRegistar ABI
Parameters
All parameters are required
nftContractAddress
Contract Address of the NFT receiving reactions
nftTokenId
Token ID of the NFT receiving reactions
creatorAddress
The address of the creator of this NFT. If a creatorAddress
is set, they will receive a portion of the Maker Rewards generated each time this Reaction is spent based on the following creatorSaleBasisPoints
parameter. Use addressZero
to leave the creatorAddress
parameter unset.
creatorSaleBasisPoints
Basis points allocated to the creator as a portion of the MakerRewards generated during a reaction sale. Use 0
if no basis points should be allocated to the creator.
optionBits
This parameter can be used to create different versions of the reaction NFT. Use 0
if optionBits
are not set.
IPFSMetadataHash
This parameter can be used to embed additional data about the user interaction. Use maxInt256
if ipfsMetadataHash
is not set.
Source Code
View the protocol on Github.
Last updated