@dfinity/candid

JavaScript and TypeScript library to work with candid interfaces

Usage no npm install needed!

<script type="module">
  import dfinityCandid from 'https://cdn.skypack.dev/@dfinity/candid';
</script>

README

@dfinity/candid

JavaScript and TypeScript library to work with Candid interfaces

Visit the Dfinity Forum and SDK Documentation for more information and support building on the Internet Computer.

Additional API Documentation can be found here.


Installation

Using Principal:

npm i --save @dfinity/principal

In the browser:

import { Principal } from "@dfinity/principal";