Using the SDK from the Server
First, make sure you've installed the Niftory SDK on your project with:
Now use the SDK in your codebase as follows:
Note: This will create a Niftory SDK with privileged authentication using a client secret that should never be public.
Parameters
environmentName
Environment of the blockchain the app will run on.
testnet
or mainnet
appId
clfjx6jzq200gs915aiz7884q
apiKey
Xk0A3H/LjA1G1D99RU1L2zoS11vR1ZJs2m6Ncqu0tdA=
clientSecret
40b27a45dtt6fce9b6e664613c43250aea67912wbfbcba263f1b57dce2c7b9ed6045f1d72dd3ca2f000070bc7a6af795c4c0c6fee70l0f3d2f290102b308aaba
All the available methods on the NiftoryClient are documented on the API Reference.
For examples of server-side usage you can check out our sample apps using the Niftory SDK:
Last updated