Coder Social home page Coder Social logo

beeman / kinetic-web3.js Goto Github PK

View Code? Open in Web Editor NEW

This project forked from solana-labs/solana-web3.js

0.0 1.0 0.0 78.56 MB

Solana JavaScript SDK

Home Page: https://solana-labs.github.io/solana-web3.js

License: MIT License

Shell 0.37% JavaScript 0.90% TypeScript 98.73%

kinetic-web3.js's Introduction

npm npm-downloads semantic-release
code-style-prettier

Solana JavaScript SDK

Use this to interact with accounts and programs on the Solana network through the Solana JSON RPC API.

Installation

For use in Node.js or a web application

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

For use in a browser, without a build system

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

<!-- Production (minified) -->
<script src="https://unpkg.com/@solana/web3.js@latest/lib/index.iife.min.js"></script>

Documentation and examples

Getting help

Have a question or a problem? Check the Solana Stack Exchange to see if anyone else is having the same one. If not, post a new question.

Include:

  • A detailed description of what you're trying to achieve
  • Source code, if possible
  • The text of any errors you encountered, with stacktraces if available

Compatibility

This library requires a JavaScript runtime that supports BigInt and the exponentiation operator. Both are supported in the following runtimes:

  • Browsers, by release date:
    • Chrome: May 2018
    • Firefox: July 2019
    • Safari: September 2020
    • Mobile Safari: September 2020
    • Edge: January 2020
    • Opera: June 2018
    • Samsung Internet: April 2019
  • Runtimes, by version:
    • Deno: >=1.0
    • Node: >=10.4.0
  • React Native:

Development environment setup

Testing

Unit tests

To run the full suite of unit tests, excute the following in the root:

$ npm test

Integration tests

Integration tests require a validator client running on your machine.

To install a test validator:

$ npm run test:live-with-test-validator:setup

To start the test validator and run all of the integration tests in live mode:

$ cd packages/library-legacy
$ npm run test:live-with-test-validator

Speed up build times with remote caching

Cache build artifacts remotely so that you, others, and the CI server can take advantage of each others' build efforts.

  1. Log the Turborepo CLI into the Solana Vercel account
    pnpm turbo login
  2. Link the repository to the remote cache
    pnpm turbo link

Contributing

If you found a bug or would like to request a feature, please file an issue. If, based on the discussion on an issue you would like to offer a code change, please make a pull request. If neither of these describes what you would like to contribute, read the getting help section above.

Disclaimer

All claims, content, designs, algorithms, estimates, roadmaps, specifications, and performance measurements described in this project are done with the Solana Foundation's ("SF") best efforts. It is up to the reader to check and validate their accuracy and truthfulness. Furthermore nothing in this project constitutes a solicitation for investment.

Any content produced by SF or developer resources that SF provides, are for educational and inspiration purposes only. SF does not encourage, induce or sanction the deployment, integration or use of any such applications (including the code comprising the Solana blockchain protocol) in violation of applicable laws or regulations and hereby prohibits any such deployment, integration or use. This includes use of any such applications by the reader (a) in violation of export control or sanctions laws of the United States or any other applicable jurisdiction, (b) if the reader is located in or ordinarily resident in a country or territory subject to comprehensive sanctions administered by the U.S. Office of Foreign Assets Control (OFAC), or (c) if the reader is or is working on behalf of a Specially Designated National (SDN) or a person subject to similar blocking or denied party prohibitions.

The reader should be aware that U.S. export control and sanctions laws prohibit U.S. persons (and other persons that are subject to such laws) from transacting with persons in certain countries and territories or that are on the SDN list. As a project based primarily on open-source software, it is possible that such sanctioned persons may nevertheless bypass prohibitions, obtain the code comprising the Solana blockchain protocol (or other project code or applications) and deploy, integrate, or otherwise use it. Accordingly, there is a risk to individuals that other persons using the Solana blockchain protocol may be sanctioned persons and that transactions with such persons would be a violation of U.S. export controls and sanctions law. This risk applies to individuals, organizations, and other ecosystem participants that deploy, integrate, or use the Solana blockchain protocol code directly (e.g., as a node operator), and individuals that transact on the Solana blockchain through light clients, third party interfaces, and/or wallet software.

kinetic-web3.js's People

Contributors

dependabot[bot] avatar mvines avatar dependabot-preview[bot] avatar jstarry avatar steveluscher avatar dependabot-support avatar criesofcarrots avatar jackcmay avatar t-nelson avatar ojshua avatar yihau avatar sunnygleason avatar macalinao avatar joncinque avatar garious avatar joeaba avatar dmakarov avatar beautyfree avatar jordaaash avatar cryptopapi997 avatar arrowana avatar rob-solana avatar vpontis avatar chaseeb avatar mooori avatar manuel-calavera avatar philcchen avatar vtsurka avatar tomjohn1028 avatar tjdawson10 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.