0.1.0-rc.199 • Published 2 months ago

@chromatic-protocol/sdk-ethers-v5 v0.1.0-rc.199

Weekly downloads
-
License
GPL-3.0-only
Repository
github
Last release
2 months ago

Chromatic Protocol SDK for Ethers-v5

The Chromatic Protocol SDK is a JavaScript library that provides a convenient way to interact with the Chromatic Protocol on the Arbitrum Ethereum chain. This readme file will guide you through the setup procedure for using the SDK.

If you want to learn more about the overview of the Chromatic Protocol, please refer to our GitBook. It provides detailed information about the protocol and its features.

For the full documentation of the Chromatic Protocol SDK, you can refer to the SDK development documentation. It will provide comprehensive information about the SDK, its functionalities, and usage examples.

Prerequisites

Before you can start using the Chromatic Protocol SDK, make sure you have the following:

  • Node.js (v18 or higher)
  • npm (Node Package Manager)
  • An Arbitrum Ethereum provider or a local Arbitrum Ethereum node
  • An Ethereum wallet or signer (such as MetaMask) with a funded account on the Arbitrum chain

Installation

To install the Chromatic Protocol SDK, run the following command in your project directory:

npm install @chromatic-protocol/sdk-ethers-v5

or

yarn add @chromatic-protocol/sdk-ethers-v5

Setting up the Client

To interact with the Chromatic Protocol, you need to create a Client instance. The Client class acts as the entry point for accessing various functionalities provided by the SDK. It requires a signer or provider object.

Here's an example of setting up the Client:

import { Signer } from 'ethers';
import { Client } from "@chromatic-protocol/sdk-ethers-v5"

const chain = "arbitrum"; // Specify "arbitrum" as the chain name for the Arbitrum chain
const signer = ...; // Replace with your Ethereum signer or wallet instance
const client = new Client(chain, signer);

Replace "arbitrum" with the name of the Arbitrum chain you want to connect to.

Make sure to replace ... with your actual Ethereum signer or wallet instance.

0.1.0-rc.199

2 months ago

0.1.0-rc.198

3 months ago

0.1.0-rc.196

3 months ago

0.1.0-rc.197

3 months ago

0.1.0-rc.195

3 months ago

0.1.0-rc.193

3 months ago

0.1.0-rc.194

3 months ago

0.1.0-rc.192

3 months ago

0.1.0-rc.191

3 months ago

0.1.0-rc.188

4 months ago

0.1.0-rc.189

4 months ago

0.1.0-rc.187

4 months ago

0.1.0-rc.186

4 months ago

0.1.0-rc.185

4 months ago

0.1.0-rc.184

4 months ago

0.1.0-rc.183

4 months ago

0.1.0-rc.182

4 months ago

0.1.0-rc.179

4 months ago

0.1.0-rc.180

4 months ago

0.1.0-rc.181

4 months ago

0.1.0-rc.178

5 months ago

0.1.0-rc.177

5 months ago

0.1.0-rc.173

5 months ago

0.1.0-rc.174

5 months ago

0.1.0-rc.175

5 months ago

0.1.0-rc.176

5 months ago

0.1.0-rc.172

5 months ago

0.1.0-rc.170

5 months ago

0.1.0-rc.169

5 months ago

0.1.0-rc.167

5 months ago

0.1.0-rc.168

5 months ago

0.1.0-rc.166

5 months ago

0.1.0-rc.165

6 months ago

0.1.0-rc.164

7 months ago

0.1.0-rc.163

7 months ago

0.1.0-rc.162

7 months ago

0.1.0-rc.161

7 months ago

0.1.0-rc.160

7 months ago

0.1.0-rc.159

7 months ago

0.1.0-rc.158

7 months ago

0.1.0-rc.157

7 months ago

0.1.0-rc.156

7 months ago

0.1.0-rc.155

8 months ago

0.1.0-rc.154

8 months ago

0.1.0-rc.153

8 months ago

0.1.0-rc.152

8 months ago

0.1.0-rc.151

8 months ago

0.1.0-rc.150

8 months ago

0.1.0-rc.149

8 months ago

0.1.0-rc.148

8 months ago

0.1.0-rc.147

8 months ago

0.1.0-rc.146

8 months ago

0.1.0-rc.145

8 months ago

0.1.0-rc.141

8 months ago

0.1.0-rc.140

9 months ago

0.1.0-rc.139

10 months ago

0.1.0-rc.137

10 months ago

0.1.0-rc.136

10 months ago

0.1.0-rc.135

10 months ago

0.1.0-rc.134

10 months ago

0.1.0-rc.133

10 months ago

0.1.0-rc.132

10 months ago

0.1.0-rc.131

10 months ago

0.1.0-rc.130

10 months ago

0.1.0-rc.129

10 months ago

0.1.0-rc.128

10 months ago

0.1.0-rc.127

10 months ago

0.1.0-rc.126

10 months ago

0.1.0-rc.125

10 months ago

0.1.0-rc.124

10 months ago

0.1.0-rc.123

10 months ago

0.1.0-rc.122

10 months ago

0.1.0-rc.121

10 months ago

0.1.0-rc.120

10 months ago

0.1.0-rc.119

10 months ago

0.1.0-rc.118

10 months ago

0.1.0-rc.117

10 months ago

0.1.0-rc.116

10 months ago

0.1.0-rc.115

10 months ago

0.1.0-rc.114

10 months ago

0.1.0-rc.113

10 months ago

0.1.0-rc.112

10 months ago

0.1.0-rc.111

10 months ago

0.1.0-rc.110

10 months ago

0.1.0-rc.109

10 months ago

0.1.0-rc.108

10 months ago

0.1.0-rc.107

10 months ago

0.1.0-rc.106

10 months ago

0.1.0-rc.105

10 months ago

0.1.0-rc.104

10 months ago

0.1.0-rc.102

10 months ago

0.1.0-rc.101

10 months ago

0.1.0-rc.100

10 months ago

0.1.0-rc.99

10 months ago

0.1.0-rc.98

10 months ago

0.1.0-rc.97

10 months ago

0.1.0-rc.96

10 months ago

0.1.0-rc.95

10 months ago

0.1.0-rc.94

10 months ago

0.1.0-rc.93

10 months ago

0.1.0-rc.92

10 months ago

0.1.0-rc.90

10 months ago

0.1.0-rc.89

10 months ago

0.1.0-rc.88

10 months ago

0.1.0-rc.87

10 months ago

0.1.0-rc.86

10 months ago

0.1.0-rc.85

11 months ago

0.1.0-rc.84

11 months ago

0.1.0-rc.83

11 months ago

0.1.0-rc.76

11 months ago

0.1.0-rc.75

11 months ago

0.1.0-rc.74

11 months ago

0.1.0-rc.73

11 months ago

0.1.0-rc.72

11 months ago

0.1.0-rc.71

11 months ago