0.1.7 • Published 12 months ago
@anima-protocol/anima v0.1.7
Anima protocol implementation in JavaScript
This module implements the anima protocol client side, allowing you to generate issuing and sharing request in the browser or in NodeJS.
Install
Anima.js can be installed through the npm registry:
npm install @anima-protocol/anima
Or with yarn:
yarn add @anima-protocol/anima
Create an issuing request
Creating an issuing request is as simple as:
import { Challenges } from "@anima-protocol/anima";
const challenge = Challenges.GetIssuingRequest(
"anima:schema:your-schema-id",
// The fields you want to issue
{
name: "John Doe",
},
// The owner's information
{
public_address: "0x0000000000000000000000000000000000000000",
chain: "EVM",
},
// The issuer's information
{
id: "your-issuer-id",
public_address: "0x0000000000000000000000000000000000000000",
chain: "EVM",
}
);
console.log(challenge);
The challenge
variable will contain the issuing request, which you can then send to your API.
Examples
You can find more examples in the examples folder.
Documentation
You can find the documentation about the anima protocol here.
0.1.7
12 months ago
0.1.6
12 months ago
0.1.5
1 year ago
0.1.2-rc3
1 year ago
0.1.2-rc1
1 year ago
0.1.2-rc2
1 year ago
0.1.1-rc1
1 year ago
0.1.4-rc2
1 year ago
0.1.4
1 year ago
0.1.4-rc1
1 year ago
0.1.3
1 year ago
0.1.4-rc3
1 year ago
0.1.1
1 year ago
0.1.0-rc1
1 year ago
0.1.0
1 year ago
0.0.1
1 year ago
0.0.1-rc10
1 year ago
0.0.1-rc9
1 year ago
0.0.1-rc8
1 year ago
0.0.1-rc7
1 year ago
0.0.1-rc6
1 year ago
0.0.1-rc5
1 year ago
0.0.1-rc4
1 year ago
0.0.1-rc3
1 year ago
0.0.1-rc2
1 year ago
0.0.1-rc1
1 year ago