Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ilanolkies/hello-world-rsk

Hello world RSK
https://github.com/ilanolkies/hello-world-rsk

Last synced: 17 days ago
JSON representation

Hello world RSK

Awesome Lists containing this project

README

        

# Hello world RSK

Hello World decentralized application in RSK network.

Try it: https://ilanolkies/hello-world-rsk/

Read the blog post: https://ilanolkies.com/post/Hello-world-to-descentralized-applications

## Run locally

In one terminal:

```
npm i
npx truffle develop
truffle(develop)> migrate
```

In another terminal:

```
cd dapp
yarn
yarn start
```

## Run on testnet

```
cd dapp
yarn
yarn build
```

Serve it with

```
yarn global add serve
serve -s build
```

## Source

- `contracts/`: smart contracts for the dapp
- `test/` : unit tests for smart contracts
- `migrations/`: smart contract deployment scripts
- `dapp/`: react app to operate with smart contracts