Giter VIP home page Giter VIP logo

fa1.2-workshop's Introduction

FA1.2 Workshop

contracts dapp

A monorepo for dapp development on Tezos.

Requirements

  • yarn
  • docker

Installation

yarn

Packages

yarn workspaces are used in order to be able to import contract addresses in the dapp.
There are 2 packages:

  • dapp: React app
  • contracts: Custom scripts with taquito, test with mocha/chai, contract with ligo

Dev

Before running dapp, create packages/dapp/.env after the .dist.

  • yarn dapp:start / starts the dapp from the dapp package
  • yarn sandox:start / starts the flextesa sandbox
  • yarn contracts:compile token.ligo / compiles a contract with ligo
  • yarn contracts:deploy env / deploy contracts

To compile, deploy and launch tests in a row, run yarn contracts:compile token.ligo && yarn contracts:deploy dev 1 && yarn contracts:test

Sandbox

You can enter the sandbox with sandbox:shell.
To import the default secret keys, run:

  • tezos-client import secret key alice unencrypted:edsk3QoqBuvdamxouPhin7swCvkQNgq4jP5KZPbwWNnwdZpSpJiEbq
  • tezos-client import secret key bob unencrypted:edsk3RFfvaFaxbHx8BMtEW1rKQcPtDML3LXjNqMNLCzC3wLC1bWbAt

fa1.2-workshop's People

Contributors

walterproof avatar

Watchers

 avatar

fa1.2-workshop's Issues

token economics

find a nice token economics example and update contract + add description of how it works

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.