All Projects β†’ onflow β†’ flow-js-testing

onflow / flow-js-testing

Licence: Apache-2.0 license
Testing framework to enable Cadence testing via a set of JavaScript methods and tools

Programming Languages

javascript
184084 projects - #8 most used programming language
Cadence
7 projects
shell
77523 projects

Projects that are alternatives of or similar to flow-js-testing

fcl-js
FCL (Flow Client Library) - The best tool for building JavaScript (browser & NodeJS) applications on Flow 🌊
Stars: ✭ 302 (+586.36%)
Mutual labels:  smart-contracts, cadence
leafleth
πŸ“‘ Documentation generator for Solidity
Stars: ✭ 24 (-45.45%)
Mutual labels:  smart-contracts
awesome-cadence-temporal-workflow
A curated list of awesome things related to the Cadence and Temporal Workflow Engines
Stars: ✭ 63 (+43.18%)
Mutual labels:  cadence
ether-swr
Ether-SWR is a React hook that fetches Ethereum data. It streamlines the chores to keep the internal state of the Decentralized App (DApp), batches the RPC calls to an Ethereum node and cache the responses
Stars: ✭ 125 (+184.09%)
Mutual labels:  smart-contracts
flow-protocol-ethereum
Flow Protocols powering synthetic asset and margin trading
Stars: ✭ 18 (-59.09%)
Mutual labels:  smart-contracts
tinlake
Smart contracts for Tinlake, the on-chain securitization protocol for real-world assets
Stars: ✭ 85 (+93.18%)
Mutual labels:  smart-contracts
uniswap-arbitrage-flash-swap
Uniswap flash swap arbitrage solidity contracts
Stars: ✭ 341 (+675%)
Mutual labels:  smart-contracts
erc721
The reference implementation of the ERC-721 non-fungible token standard.
Stars: ✭ 989 (+2147.73%)
Mutual labels:  smart-contracts
vandal
Static program analysis framework for Ethereum smart contract bytecode.
Stars: ✭ 121 (+175%)
Mutual labels:  smart-contracts
solidity-diagram-gen
UML class diagram generator for solidity contracts
Stars: ✭ 33 (-25%)
Mutual labels:  smart-contracts
clarinet
Clarinet is a simple, modern and opinionated runtime for testing, integrating and deploying Clarity smart contracts.
Stars: ✭ 209 (+375%)
Mutual labels:  smart-contracts
rgb-core
RGB Core Library: consensus validation for private & scalable client-validated smart contracts on Bitcoin & Lightning
Stars: ✭ 99 (+125%)
Mutual labels:  smart-contracts
prb-math
Solidity library for advanced fixed-point math
Stars: ✭ 404 (+818.18%)
Mutual labels:  smart-contracts
web3scala
Scala library for integration with Ethereum clients
Stars: ✭ 24 (-45.45%)
Mutual labels:  smart-contracts
awesome-solidity-patterns
πŸš€Awesome Solidity patterns to make life easier ✌️
Stars: ✭ 73 (+65.91%)
Mutual labels:  smart-contracts
flow-ft
The Fungible Token standard on the Flow Blockchain
Stars: ✭ 120 (+172.73%)
Mutual labels:  smart-contracts
koinos-gui-miner
The Koinos Miner (GUI) provides a sleek and functional user interface that allows users to mine the KOIN ERC-20 which will be used to deliver an equitable initial token distribution on the Koinos blockchain.
Stars: ✭ 26 (-40.91%)
Mutual labels:  smart-contracts
Meadow
Integrated Ethereum implementation and tool suite focused on Solidity testing and development.
Stars: ✭ 126 (+186.36%)
Mutual labels:  smart-contracts
erc20-balance
πŸ’Ž Get 2000+ ERC-20 token balances with JavaScript. Supports Node.js and Deno
Stars: ✭ 18 (-59.09%)
Mutual labels:  smart-contracts
akropolis
πŸ’₯ Akropolis+Yearn
Stars: ✭ 0 (-100%)
Mutual labels:  smart-contracts
Logo

Test your Flow applications written in Cadence with ease
Read the docs

Report Bug Β· Contribute Β· Installation

JavaScript Testing Framework for Flow Network

This repository contains utility methods which, in conjunction with testing libraries like Jest, can be used to speed up your productivity while building Flow dapps with Cadence.

Requirements

Node

We are assuming you are using this framework under Node environment. You will need at least version 12.0.0

Emulator

Most of the methods will not work, unless you have Flow Emulator running in the background. You can install it alongside Flow CLI. Please refer to Install Flow CLI for instructions.

If you have it already installed, run the flow init in your terminal to create flow.json config file in the root directory of your tests.

In order to use the emulator within your tests, please refer to the documentation.

Playground Integration

Every Playground project has the ability to export it's content as a set of files with Cadence template code and basic test environment "out of the box".

If you want to use this functionality:

  • Press "Export" button in the top right corner
  • Pick the name of the project - or keep auto-generated version
  • Press "Export" button within popup window

Playground will create a zip file for you, which you can save wherever you like.

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].