The official Node.js SDK for the Andamio Protocol - empowering organizations to teach skills and distribute contribution opportunities through blockchain-based education and collaboration tools.
npm install @andamiojs/sdkyarn add @andamiojs/sdkpnpm add @andamiojs/sdkimport { AndamioSDK } from '@andamiojs/sdk';
// Initialize the SDK
const andamio = new AndamioSDK(
baseUrl,
"Preprod" // or "Mainnet"
);
// Check alias availability
const data = await sdk.provider.overview.checkAliasAvailability('my-alias')
// Get User Information
const userInfo = await sdk.provider.overview.getUserData('my-alias')
-
Alias Management
- β Alias availability checking
-
Contributor Management
- β Contributor State UTXO retrieval by alias
- β Escrow UTXO management by alias
-
Course & Assignment Management
- β Assignment UTXO retrieval by alias
- β Course UTXO retrieval by alias
- β Module Reference UTXO by module token name
-
Access Control
- β User Access Token UTXO by alias
- β Address holding access token by alias
-
Governance & Validation
- β Governance Validator UTXO by Course ID or Project ID
-
Transaction Support
- β Commit to Assignment (Student)
- β Mint Course Module (Course Creator)
- β Accept Assignment (Course Creator)
-
Policy Management
- All Contributor Policies
- Contributor Policy by Project ID
-
Treasury Management
- Treasury Fund UTXOs
- Treasury Projects UTXOs
- Treasury Projects UTXO by project hash
- Treasury Projects UTXO by escrow hash
-
Data Parsers
- Global State UTXO Datum Parser
- Escrow UTXO Datum Parser
- Assignment UTXO Datum Parser
- Course UTXO Datum Parser
- Module Ref UTXO Datum Parser
-
Transaction Support
- Mesh U5C Evaluator support
interface AndamioSDKProps {
baseUrl: string; // UTxORPC URL + Port
network: 'Mainnet' | 'Preprod';
dmtr_api_key?: string; // If you are using demeter
}
const andamio = new AndamioSDK(
"https://preprod.utxorpc-v0.demeter.run:443",
"Preprod",
"dmtr_utxorpc...."
);This project is licensed under the Apache 2.0 License - see the LICENSE file for details.
- Documentation: sdk.andamio.io
- GitHub Issues: Report bugs or request features
- Community Discord: Join our community
- Email: support@andamio.io
- Andamio Web App - Web interface for the Andamio Platform Reference Implementation
- Andamio Documentation - Comprehensive protocol documentation
Learn skills Β· Contribute value Β· Cultivate community
