Git Product home page Git Product logo

deprecated-bftg's Introduction

Free TON BFTG by RSquad

Testing

To run tests on a local node you need:

  • Ubuntu 20.04 or Mac
  • install docker
  • install node.js
  • install tondev using npm i -g tondev
  • run Node SE using tondev se start
  • clone the repo git clone --recursive [email protected]:RSquad/BFTG.git
  • don't forget about submodules, if you have cloned withut recursive use git submodule update --init to load submodules
  • install dependencies at the root of project npm i
  • run npm run compile to compile sources
  • create .env file, which consists of next variables (for Node SE use the same that provided in example)
NETWORK=LOCAL

MULTISIG_ADDRESS=0:d5f5cfc4b52d2eb1bd9d3a8e51707872c7ce0c174facddd0e06ae5ffd17d2fcd
MULTISIG_PUBKEY=99c84f920c299b5d80e4fcce2d2054b05466ec9df19532a688c10eb6dd8d6b33
MULTISIG_SECRET=73b60dc6a5b1d30a56a81ea85e0e453f6957dbfbeefb57325ca9f7be96d3fe1a
  • run npm run test to run tests

We highly recommended to use yarn instead of npm

Project structure

├── build
├── src
│   ├── debots
│   │   └── ...
│   ├── interfaces
│   │   └── ...
│   ├── resolvers
│   │   └── ...
│   └── ...
├── tests
│   └── ...
├── ton-packages
│   └── ...
├── utils
│   └── ...
├── compile.js
├── LICENSE
├── package.json
├── README.md
└── yarn.lock
  • ./build - directory where all compiled contracts are stored
  • ./src - directory with source code of contracts
  • ./src/debots - directory containing interfaces for debots
  • ./src/interfaces - directory containing system contract interfaces
  • ./src/resolvers - directory containing contracts for inheritance allowing to read addresses and states of other contracts
  • ./tests
  • ./ton-packages
  • ./utils
  • ./compile.js - file describing the compilation. If you need to compile a new contract, pay attention to the last array of strings, it lists the contracts that will be compiled into ton-package

License

BFTG is Apache-2.0 licensed

deprecated-bftg's People

Contributors

inyellowbus avatar roman-nguyen 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.