xrpl-labs / xumm.net.sdk Goto Github PK
View Code? Open in Web Editor NEWXUMM .NET SDK - Interact with the XUMM Developer API the easy way
License: MIT License
XUMM .NET SDK - Interact with the XUMM Developer API the easy way
License: MIT License
XUMM SDK 1.1.2 adds support for the new user token verification endpoint:
This change features two methods on the parent SDK object, verifyUserTokens
(to verify an array of tokens) and verifyUserToken
(to verify a single user token).
Sample code in TypeScript:
console.log(await Sdk.verifyUserTokens([
'691d5ae8-968b-44c8-8835-f25da1214f35',
'b12b59a8-83c8-4bc0-8acb-1d1d743871f1',
'51313be2-5887-4ae8-9fda-765775a59e51',
'testing an invalid record'
]))
» Returns an array with User Token Validity records: https://github.com/XRPL-Labs/XUMM-SDK/blob/33c43311226d9f42aabac1b5cc09ac2e04cc421c/deno/types/Meta/UserTokens.ts#L1
Or single User Token calls:
console.log('a', await Sdk.verifyUserToken('691d5ae8-968b-44c8-8835-f25da1214f35'))
console.log('b', await Sdk.verifyUserToken('691d5ae8-968b-44c8-8835-f25da1214f36'))
console.log('c', await Sdk.verifyUserToken('testing an invalid record'))
» Each call returns either a single User Token Validity record, or null.
Payloads have a new meta
property: signers
. The field can be null
or an array containing between one and an arbitrary amount (currently hard capped by our backend at four, client doesn't have to enforce) XRPL account addresses.
When one or more account addresses are entered, XUMM forces signing with one of those accounts.
meta.signers
) (null or string[])options.signers
) (omit, null or string[])A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.