Register Baidu Super Chain open network account https://xuper.baidu.com/ Complete account initialization, download personal private key and address
Contract installation
This step can be omitted, just use the installed opennft contractFind the contractfile folder under the blockchainplatform-nft-web module, and install the contract according to the Baidu Super Chain Operation Document.
go:https://xuper.baidu.com/n/doc#/e76de83b/1_0_0/64b3a685
java:https://xuper.baidu.com/n/doc#/e76de83b/1_0_0/e944842a
After successful installation, modify the property of const.nftContractName in application.yml to the corresponding contract name.
Import database script
Import the .sql file in the sql directory of the blockchainplatform-nft-web module into the database
And improve the information in nft_chain_plat and nft_user_chainplat tables
passwd: security code, data encrypted using SecUtils.encoderByRSAPrivateKey()
address: the ak address of the user's hyperchain
EVMAddress: Use Account.xchainAKToEVMAddress(address) to convert and obtain
Finally, place the source file in the specified directory of resource
Static resources
Unzip the static.zip file of the blockchainplatform-nft-web module to the directory corresponding to the staticdir attribute value in application.yml
WeChat configuration
Improve the data in the WeChat configuration table for WeChat login and WeChat payment
Email configuration
It is used to send the source files to the user's mailbox by email after the user purchases the NFT work.
Apply for the corresponding information in your own mailbox settings and fill in the attributes corresponding to mail in application.yml
SMS configuration
Used for mobile phone number verification when users complete personal information
Apply to use Alibaba Cloud SMS service, improve aliyun.accessKeyId and aliyun.accessKeySecret in application.properties, and the SMS template for successful application
Startup class
Use redis cache and modify the configuration information in application.yml.
Find the net.shengjian.makerone.SpringrainApplication startup class under the blockchainplatform-nft-web module and start it.
Default username/password:admin/123