MORALIS_KEY=""
PINATA_API_KEY=""
PINATA_SECRET_KEY=""
PINATA_GATEWAY=""
Pinata is a third-party storage service provider of IPFS.
PINATA_API_KEY & PINATA_SECRET_KEY Used for authentication, PINATA_GATEWAY Private gateways can be created. The advantage is that they are fast and can also use public gateways.
public gateways :
PINATA_GATEWAY="api.pinata.cloud"
PINATA_X needs to be created in the user's console, with which you can start using the services provided by Pinata.
moralis is cross-chain web3 service provider,You can create a key for access in the user console.
open spike-blockchain-service/main.go
func main() {
config.Init()
r := server.NewRouter()
r.Run(":3000")
}