nearprotocol / NEARStudio

IDE for building smart contracts on NEAR Protocol
https://studio.nearprotocol.com
MIT License
67 stars 18 forks source link
assemblyscript blockchain ide smart-contracts typescript webassembly

NEAR Studio

Build Status

NEAR Studio is a cloud IDE for development of NEAR Protocol smart contracts and DApps.

It's heavily based on WebAssembly Studio.

Demo GIF

Dockerized Studio

Dockerized studio operates as a micro-service. It uses nginx to serve the local static content. As the result, Studio is not parametrizable with environment variables. All configs of Near Studio are currently available in config.json and are used to generate the static content.

Running your own local copy of the website

To run a local copy, you will need to install node.js and webpack on your computer, then run the following commands:

yarn

To build NEAR Studio whenever a file changes run:

yarn build-watch

To start a dev web server run:

yarn dev-server

Before submitting a pull request run:

yarn test

Deploying in production

Build for production:

yarn build

Deploy (need to have sudo on near-studio server):

./deploy.sh

Contributing

If you want to contribute upstream to WebAssemblyStudio, please get familiar with the contributing guide.

Join our Discord if you want to help with NEAR-specific stuff or just stay in touch with development progress.

We also have Telegram with more curated updates.

Credits

This project depends on several excellent libraries and tools: