All Projects β†’ solana-labs β†’ Solana Web3.js

solana-labs / Solana Web3.js

Licence: mit
Solana JavaScript SDK

Programming Languages

javascript
184084 projects - #8 most used programming language
typescript
32286 projects
js
455 projects

Projects that are alternatives of or similar to Solana Web3.js

Hanzo.js
πŸš€ Hanzo JavaScript SDK. Develop cutting-edge decentralized applications.
Stars: ✭ 128 (+50.59%)
Mutual labels:  blockchain, sdk
Py Stellar Base
Stellar client library for the Python language
Stars: ✭ 273 (+221.18%)
Mutual labels:  blockchain, sdk
Java Stellar Sdk
Stars: ✭ 146 (+71.76%)
Mutual labels:  blockchain, sdk
Stellar Ios Mac Sdk
Stellar SDK for iOS & macOS - Swift, Stellar, Horizon, Soneso
Stars: ✭ 92 (+8.24%)
Mutual labels:  blockchain, sdk
Evtjs
API Binding (SDK) for the everiToken blockchain.
Stars: ✭ 697 (+720%)
Mutual labels:  blockchain, sdk
Hydro Scaffold Dex
A Decentralized Exchange Scaffold - launch a DEX in minutes
Stars: ✭ 112 (+31.76%)
Mutual labels:  blockchain, sdk
Lisk Sdk
πŸ”© Lisk software development kit
Stars: ✭ 2,767 (+3155.29%)
Mutual labels:  blockchain, sdk
Flow Go Sdk
Tools for building Go applications on Flow 🌊
Stars: ✭ 109 (+28.24%)
Mutual labels:  blockchain, sdk
Cakeshop
An integrated development environment and SDK for Ethereum-like ledgers
Stars: ✭ 491 (+477.65%)
Mutual labels:  blockchain, sdk
Js Stellar Sdk
Main Stellar client library for the Javascript language
Stars: ✭ 488 (+474.12%)
Mutual labels:  blockchain, sdk
Evt4j
Official Java SDK for everiToken public chain. https://www.everitoken.io
Stars: ✭ 248 (+191.76%)
Mutual labels:  blockchain, sdk
Javasdk
the Java SDK for hyperchain (developing)
Stars: ✭ 35 (-58.82%)
Mutual labels:  blockchain, sdk
Decentralized Internet
A SDK/library for decentralized web and distributing computing projects
Stars: ✭ 406 (+377.65%)
Mutual labels:  blockchain, sdk
Bitgosdk Php
BitGo SDK written in PHP
Stars: ✭ 22 (-74.12%)
Mutual labels:  blockchain, sdk
Web Sdk
Portis Web SDK
Stars: ✭ 65 (-23.53%)
Mutual labels:  blockchain, sdk
Php Sdk
η™ΎεΊ¦AI开放平台 PHP SDK
Stars: ✭ 81 (-4.71%)
Mutual labels:  sdk
Gap sdk
SDK for Greenwaves Technologies' GAP8 IoT Application Processor
Stars: ✭ 83 (-2.35%)
Mutual labels:  sdk
Connect Nodejs Sdk
Javascript client library for the Square Connect APIs
Stars: ✭ 80 (-5.88%)
Mutual labels:  sdk
Nano Docs
Documentation for the Nano protocol
Stars: ✭ 80 (-5.88%)
Mutual labels:  blockchain
Blockchain Parser
The simpliest script for parsing Bitcoin blockchain. It made convertion of blk*****.dat files to the simple text.
Stars: ✭ 84 (-1.18%)
Mutual labels:  blockchain

Build status codecov
npm npm-downloads
semantic-release code-style-prettier

Solana JavaScript API

This is the Solana Javascript API built on the Solana JSON RPC API

Latest API Documentation

Installation

Yarn

$ yarn add @solana/web3.js

npm

$ npm install --save @solana/web3.js

Browser bundle

<!-- Development (un-minified) -->
<script src="https://unpkg.com/@solana/[email protected]/lib/index.iife.js"></script>

<!-- Production (un-minified) -->
<script src="https://unpkg.com/@solana/[email protected]/lib/index.iife.min.js"></script>

Development Environment Setup

Install the latest Solana release from https://docs.solana.com/cli/install-solana-cli-tools

Run test validator

Use solana-test-validator from the latest Solana release

BPF program development

Use cargo build-bpf from the latest Solana release

Usage

Javascript

const solanaWeb3 = require('@solana/web3.js');
console.log(solanaWeb3);

ES6

import solanaWeb3 from '@solana/web3.js';
console.log(solanaWeb3);

Browser bundle

// `solanaWeb3` is provided in the global namespace by the `solanaWeb3.min.js` script bundle.
console.log(solanaWeb3);

Flow

A Flow library definition is provided at module.flow.js. Add the following line under the [libs] section of your project's .flowconfig to activate it:

[libs]
node_modules/@solana/web3.js/module.flow.js

Releases

Releases are available on Github and npmjs.com

Each Github release features a tarball containing API documentation and a minified version of the module suitable for direct use in a browser environment (<script> tag)

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].