Getting started


ArkProject Core is a VanillaJS library for arkchain. You can learn more about the rationale behind the project in the What is the ArkProject section.

Package manager

Install the required packages.

pnpm add @arkproject/core

Create config

Create and export a new ArkProject config using createConfig.

import { createConfig, networks } from '@arkproject/core'

// Create the Ark SDK configuration
export const config = createConfig({
  starknetNetwork: networks.mainnet,
  arkchainNetwork: Network.mainnet,

Use ArkProject Core

Now that everything is set up, you can pass the config to use actions.

import { createOffer } from '@arkproject/core'
import { config } from './config'

const orderHash = await createOffer(config, parameters)