Giter Club home page Giter Club logo

restore-together's Introduction

Restore Together

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

NodeJS 16+
NEAR-CLI

Install

yarn install

Build Smart-contracts

yarn build:contracts

Run Testnet

Deploy Smart-contracts:

yarn dev:deploy:contract

Start frontend:

yarn start

Now you'll have a local development environment backed by the NEAR TestNet!

Local Development

More details: https://docs.near.org/docs/tools/kurtosis-localnet

Prerequisites

NodeJS 14+
Docker
NEAR-CLI
Kurtosis CLI

Install

kurtosis engine start
curl -o ~/launch-local-near-cluster.sh https://raw.githubusercontent.com/kurtosis-tech/near-kurtosis-module/master/launch-local-near-cluster.sh -L
chmod u+x ~/launch-local-near-cluster.sh

1. Launch Kurtosis NEAR Module:

~/launch-local-near-cluster.sh

Check command output and use instructions to import alias and env settings.

2. Replace your env settings in .env.local

3. Import test.near master account:

Replace WALLET_URL and SECRET_KEY (test.near secret_key) and open URL: WALLET_URL/auto-import-secret-key#test.near/SECRET_KEY

4. Login in console using master account:

local_near login

5. Deploy to localnet:

Manually run commands from file deploy-local.sh.

6. Start frontend

yarn local

restore-together's People

Contributors

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