All Projects → WilfredTA → trampoline

WilfredTA / trampoline

Licence: MIT license
A complete dapp development framework for Nervos Network

Programming Languages

rust
11053 projects

Projects that are alternatives of or similar to trampoline

tip-tweet
Tip Tweet is a hybrid dApp that provides a simple way to tip a tweet using Ethereum. Authors can claim their tips using their Twitter account. You only need the tweet URL to tip. 🚀 😎
Stars: ✭ 23 (-14.81%)
Mutual labels:  dapp
colonyDapp
Colony dApp client
Stars: ✭ 52 (+92.59%)
Mutual labels:  dapp
tzprofiles
Create portable verified profiles on Tezos with public accounts.
Stars: ✭ 37 (+37.04%)
Mutual labels:  dapp
defi-dapps-solidity-smart-contracts
This is a Web 3 Smart Contract learning and teaching repo which will be used to teach students all across Pakistan.
Stars: ✭ 241 (+792.59%)
Mutual labels:  dapp
zeneth
🏵️ Let Your ETH Chill — Gasless Ethereum account abstraction with Flashbots
Stars: ✭ 112 (+314.81%)
Mutual labels:  dapp
vue-web3
🐙 Web3 blockchain bindings for Vue.js (inspired by Vuefire and Drizzle)
Stars: ✭ 63 (+133.33%)
Mutual labels:  dapp
eth-plot
r/place inspired Dapp
Stars: ✭ 36 (+33.33%)
Mutual labels:  dapp
the-great-venus
🗿 The Great Venus (2018) - Turn-based web RPG based on Ethereum platform
Stars: ✭ 19 (-29.63%)
Mutual labels:  dapp
jelly-beats
A decentralized music and podcasts streaming platform
Stars: ✭ 69 (+155.56%)
Mutual labels:  dapp
BankRollerApp
Desktop application for bankroller. Invest BET and take reward for random generation.
Stars: ✭ 38 (+40.74%)
Mutual labels:  dapp
Marketplace dapp
Decentralized marketplace application built on the Ethereum Blockchain using the Truffle Framework
Stars: ✭ 16 (-40.74%)
Mutual labels:  dapp
poa-popa
DApp for proof of physical address (PoPA) attestation for validators of POA Network
Stars: ✭ 22 (-18.52%)
Mutual labels:  dapp
NFT-Dapp-Boilerplate
A highly scalable NFT and DEFI boilerplate with pre added web3 and different wallets with a focus on performance and best practices
Stars: ✭ 51 (+88.89%)
Mutual labels:  dapp
synthetix-js
[deprecated] Please use https://github.com/Synthetixio/js-monorepo/tree/master/packages/contracts-interface
Stars: ✭ 63 (+133.33%)
Mutual labels:  dapp
court
The Kleros court user interface.
Stars: ✭ 19 (-29.63%)
Mutual labels:  dapp
hydro-sdk-wallets
Wallet connection integration for dApps. Provides a uniform interface to interact with multiple wallets.
Stars: ✭ 20 (-25.93%)
Mutual labels:  dapp
sketchup-ruby-debugger
Ruby API debugger for SketchUp 2014 and later.
Stars: ✭ 62 (+129.63%)
Mutual labels:  devtool
aeppl
Tools for an Aesara-based PPL.
Stars: ✭ 46 (+70.37%)
Mutual labels:  modeling-and-simulation
goblockchain.github.io
Site of GoBlockchain.io
Stars: ✭ 27 (+0%)
Mutual labels:  dapp
defi
Tools for use in DeFi. Impermanent Loss calculations, staking and farming strategies, coingecko and pancakeswap API queries, liquidity pools and more
Stars: ✭ 464 (+1618.52%)
Mutual labels:  dapp

Trampoline Framework

The framework for developing decentralized applications on Nervos Network's layer 1 blockchain, the Common Knowledge Base (CKB). Trampoline provides a host of capabilities for running & configuring a local development environment, creating and managing projects, testing smart contracts, and managing complex business logic with an SDK that provides an intuitive API for sophisticated transaction generation.

Trampoline currently provides the following features:

  • Quickly generate new dapp projects
  • Launch local nodes, miners, and chain indexers
  • Generate custom schemas for on-chain data
  • Smart contract pipelines for easy composability & transaction creation
  • A simulation chain for building sophisticated test cases with ease
  • Builtin support for tNFT's and SUDT fungible tokens

Trampoline is still under heavy development and is subject to breaking changes. Please use for testing & experimentation only at this stage.

Installation

Currently, Trampoline has only been tested on Linux environments.

Trampoline uses docker for running chain services like nodes and miners, so it is recommended to install docker before moving on.

Then, install with cargo install --git https://github.com/WilfredTA/trampoline --branch develop

Trampoline CLI

Usage

USAGE:
    trampoline <SUBCOMMAND>

FLAGS:
    -h, --help       Prints help information
    -V, --version    Prints version information

SUBCOMMANDS:
    help       Prints this message or the help of the given subcommand(s)
    network    Manage local development chain
    new        Create a new Trampoline project
    schema     Manage custom on chain structures

Quick Start

trampoline new example
cd example
trampoline net launch

Project Layout

  • trampoline.toml - Trampoline project configuration file
  • trampoline-env.toml - Network services configuration file
  • generators - Transaction generator directory
  • schemas - Custom cell schema directory
  • scripts - Smart contracts directory
  • .trampoline - Directory for caching local chain & indexer data

Manage local network

To initialize and start a new network: trampoline network launch

To set a miner: trampoline network set-miner [lock_arg | pubkey]

To start the miner: trampoline network miner

To start an indexer: trampoline network indexer

Manage schemas

Schemas use the molecule encoding & serialization format.

Create a new schema: trampoline schema new <schema_file>

Optionally, schema definition (in Molecule) can be passed in: trampoline schema new byte_10_arr "array my_array [byte; 10]"

Generate rust bindings to build and decode schema: trampoline schema build <schema_name>

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