Token SDK Downloads

The Token SDK is available in JavaClosedProgramming language and computing platform first released by Sun Microsystems in 1995. There are lots of applications and websites that will not work unless you have Java installed, and more are created every day. Java is fast, secure, and reliable. From laptops to datacenters, game consoles to scientific supercomputers, cell phones to the Internet, Java is everywhere!, JavaScriptClosedOften abbreviated as JS, JavaScript is an interpreted programming language that conforms to the ECMAScript specification — high-level, often just-in-time compiled, and multi-paradigm. It has curly-bracket syntax, dynamic typing, prototype-based object-orientation, and first-class functions. Alongside HTML and CSS, JavaScript is one of the core technologies of the World Wide Web. All major web browsers have a dedicated JavaScript engine to execute it., and C#ClosedGeneral-purpose, multi-paradigm programming language encompassing strong typing, lexically scoped, imperative, declarative, functional, generic, object-oriented (class-based), and component-oriented programming disciplines. It was developed around 2000 by Microsoft as part of its .NET initiative, and later approved as an international standard by Ecma (ECMA-334) and ISO (ISO/IEC 23270:2018).. Please pay careful attention to preconditions and dependencies for the desired programming language.

Java SDK

Token's Java SDK requires Java Development Kit (JDK) v8 or later. The latest Token Java SDK is available from the Token Artifactory page.

Be sure to choose the most recent version of the SDK, then download each of these corresponding resources:

For build automation using MavenClosedApache Maven is a software project management and comprehension tool. Based on the concept of a project object model (POM), Maven can manage a project's build, reporting and documentation from a central piece of information. and GradleClosedGradle is an open-source build-automation system that builds upon the concepts of Apache Ant and Apache Maven and introduces a Groovy-based domain-specific language (DSL) instead of the XML form used by Apache Maven for declaring the project configuration. Gradle runs on the JVM and you must have a Java Development Kit (JDK) installed to use it. This is a bonus for developers familiar with the Java platform as you can use the standard Java APIs in your build logic, such as custom task types and plugins. It also makes it easy to run Gradle on different platforms. Note that Gradle isn’t limited to building just JVM projects, and it even comes packaged with support for building native projects., use the following code:

Maven

First, specify Token's artifact repository:

<repositories>

    ...

    <repository>

        <url>https://token.jfrog.io/token/public-libs-release-local/</url>

    </repository>

</repositories>

Then specify the artifact to depend on:

<dependency>

    <groupId>io.token.sdk</groupId>

    <artifactId>tokenio-sdk-tpp</artifactId>

    <version>2.12.17</version>

</dependency>

Gradle

Specify Token's artifact repository.

repositories {

     ...

     maven { url 'https://token.jfrog.io/token/public-libs-release-local/' }

}

And also the artifact on which to depend:

compile(group: 'io.token.sdk', name: 'tokenio-sdk-tpp', version: <latest version>')

JavaScript SDK

The JavaScript SDK builds code usable in Node.js or via a build tool like WebpackClosedModule bundler for JavaScript files that takes care of bundling alongside a separate task runner. or BrowserifyClosedDevelopment tool compiles node.js-style modules for use in a browser. Just like node, you write your modules in separate files, exporting external methods and properties using the module.exports and exports variables. — in the browser. It uses ES7ClosedJavaScript features in ECMAScript 2016 introduced since ES6 (EMCAScript 2015)., but builds code usable in ES6ClosedAlso known as JavaScript 6..

In all cases, Token requires a recent version of npmClosedNode Package Manager – online repository for the publishing of open-source Node.js projects; a command-line utility that aids in package installation, version management, and dependency management. and YarnClosedTool developed by Facebook to resolve some of npm’s shortcomings. Yarn isn’t technically a replacement for npm since it relies on modules from the npm registry. Think of Yarn as a new installer that still relies upon the same npm structure. to build. To install the npm package use:

npm install @token-io/tpp

Other important resources to download include:

C# SDK

The Token's C# SDK is based on C# 7.0 and the target framework is .Net Framework 4.5.1. The package can be found on Nuget.

To use the SDK, add the package as a dependency to your project file:

<ItemGroup>

    <PackageReference Include="Token.SDK.TPP" Version="{latest_version}" />

</ItemGroup>

Other important resources include:

Other Languages

You can use the Token gRPC or HTTP APIClosedA HTTP API is ANY API that makes use of HTTP as its transfer protocol.s to use a language other than the Token SDK languages actively supported (Java, JavaScript and Objective-C, with additional languages to be added). Many of the API endpoints require authentication. To authenticate a request, you must compute a cryptographic signature and attach it.

For information about how to do this, contact Token.