nomis-evm-sdk
v1.0.1
Published
SDK for scoring the wallet on EVM
Readme
Nomis EVM Score SDK
The Nomis Score SDK allows you to seamlessly integrate your application with the Nomis Score system. Below are the details for installation and usage of the SDK.
Installation
To install the SDK, use the following command:
npm install nomis-evm-sdkInit
const scoreName = 'multichain';
const config = scoreChains[scoreName];
const {mintScore, getScoreData, getToken} = createNomisSDK({
params: {
address,
scoreName,
config,
},
referrerCode
})
Methods
1. getScoreData
Retrieves information about a wallet's score.
const scoreData: IGetScoreResult = await getScoreData();Returns:
scoreData(object): Detailed information about the wallet's score.scoreName(string): The network used for scoring.mintData(object): Data required for minting/updating the score.
2. mintScore
Provides theree methods for minting a score and obtaining the transaction hash.
await mintScore(mintData);3. getToken
Retrieves the minted token object for a given wallet address.
const token: IGetTokenRes = await getToken();Returns:
data(object): The minted token object.
License
This project is licensed under the MIT License. See the [LICENSE] file for more details.
Contributing
Contributions are welcome! Please open an issue or submit a pull request for any bugs or features.
Support
If you have any questions or need help, please open an issue on our GitHub repository.
Authors
Enjoy using Nomis Score SDK!
