All Projects → effectai → effect-js

effectai / effect-js

Licence: MIT license
JavaScript Library to access and develop dApps on Effect Network.

Programming Languages

typescript
32286 projects
javascript
184084 projects - #8 most used programming language
HTML
75241 projects

Projects that are alternatives of or similar to effect-js

find-work
Curated list of websites and resources to find work programming
Stars: ✭ 91 (+62.5%)
Mutual labels:  work
future.scala
Stack-safe asynchronous programming
Stars: ✭ 38 (-32.14%)
Mutual labels:  future
FunFilter
Freely painted area, the software will automatically add filter on its.
Stars: ✭ 15 (-73.21%)
Mutual labels:  effect
mesh
Решает тесты с МЭШ.
Stars: ✭ 19 (-66.07%)
Mutual labels:  work
MirrorReflectionEffectForUGUI
A simple mirror reflection effect for a uGUI without reflection probes or shaders.
Stars: ✭ 99 (+76.79%)
Mutual labels:  effect
dotfiles
My dotfiles
Stars: ✭ 22 (-60.71%)
Mutual labels:  work
timeclock
Simple work time clocking service
Stars: ✭ 21 (-62.5%)
Mutual labels:  work
typing.js
Js library for creating typing effect on webpage.
Stars: ✭ 22 (-60.71%)
Mutual labels:  effect
EasyConfetti
🎊 Fancy confetti effects in Swift
Stars: ✭ 557 (+894.64%)
Mutual labels:  effect
completable-future-example
Example project comparing Java's CompletableFuture and Future implementations
Stars: ✭ 32 (-42.86%)
Mutual labels:  future
Development
All sort of public guides and information related to mobile development.
Stars: ✭ 15 (-73.21%)
Mutual labels:  work
causefolio
For the community, by the community.
Stars: ✭ 44 (-21.43%)
Mutual labels:  work
Shimmer-ReactNative
React Native Shimmer
Stars: ✭ 38 (-32.14%)
Mutual labels:  effect
workplace
Time sheet application for organisations.
Stars: ✭ 35 (-37.5%)
Mutual labels:  work
utopia
Design ❤️ Code
Stars: ✭ 3,623 (+6369.64%)
Mutual labels:  future
home
Work Design 项目说明
Stars: ✭ 30 (-46.43%)
Mutual labels:  work
git2gus
A Github application to keep issues in sync with Agile Accelerator
Stars: ✭ 27 (-51.79%)
Mutual labels:  work
ES-Timer
A USB timer powered by Digispark ATtiny85 according to 🍅 pomodoro time management technique
Stars: ✭ 45 (-19.64%)
Mutual labels:  work
MeetNinja-Google-Meet-Bot
A super dope tool that attends your Google Meet(s) for you. Flawlessly handles scheduled multiple (subsequent) Meet sessions. Also disables the camera & microphone, and shows timestamps of joining & ending times for each Meet. Supported: Google Chrome / Mozilla Firefox running on Linux / Mac / Windows
Stars: ✭ 56 (+0%)
Mutual labels:  work
ME3ModManager
Legacy mod manager for Mass Effect 3 (superceded by ME3Tweaks Mod Manager)
Stars: ✭ 17 (-69.64%)
Mutual labels:  effect

🔥 @effectai/effect-js

Javascript SDK for integration with https://effect.network

Boilerplate Demo

A demo of the browser boilerplate can be found at the following link: Hackathon Browser BoilerPlate Demo

Quickstart

Take a look at the quickstart guide in order to understand how to install and use the library.

SDK-Reference

The SDK reference is available here: SDK-Reference

✒️ Installation

The official distribution for the package can is available at npm.

npm i @effectai/effect-js

🏎 Quick start

Please take a look at the Quick-Start-Guide in order to understand how to install and use the library. You can also take a look at our Medium-Article to get a quick overview of how to use the library on the dApp side. In other words: on how to post tasks to an already defined template on Effect Force.

🦋 Development

The best way to get to know how this module works is by adding features while you can run it. So there are some examples provided to provide an idea of how to create a transaction with the Effect Network.

Clone the project

git clone [email protected]:dfuse-io/client-js.git

Install dependencies and dev-dependencies

npm install

It is now possible to start compiling the typescript files to the module spec of your choice, for now, the following module specs are supported: [ESM, CommonJS, UMD]

npm run build:cjs # commonjs
npm run build:esm # esm
npm run build:umd # umd

Link it. Now it is possible to use npm link in order to link the compiled typescript code to your own project, from the directory of your project, run the following command.

npm link /path/to/effect-js/

From your project folder, you should be able to import the compiled code from effect-js. Depending on your environment, use import or require as needed.

🧪 Testing

The testing framework used for this project is Jest. It is possible to run the tests with the following command. The tests are available in the test directory. Remember to copy the .env.test.example file to .env.test and fill in the values for your environment.

Run the tests in the test directory with the kylin environment, for now it is configured to only run unit tests.

npm run test

For more fine grained control of the test execution, you can use the following command.

# Run all tests and watch
npm run test:watch

# Run e2e tests
npm run test:e2e

# Run unit tests
npm run test:unit

🗞 Publishing

Run the following command to build the source, increment the version, and publish the dist transpiled code and types to the npm repository, assuming you have the correct credentials.

Make sure the git is clean, and everything has been committed, and run the following.

npm run publish:public

Running publish:next will publish a pre-release of the sdk to the npm repository. Users will need to explicitly opt-in in order to use it.

npm run publish:next
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].