Agoric / dapp-agoric-basics

This is a simple app for the Agoric smart contract platform.
0 stars 3 forks source link

Agoric Dapp Starter: Agoric Basics

This is a basic Agoric Dapp that contains three smart contracts postal-service, sell-concert-tickets, and swaparoo demonstrating different scenarios which can be implemented easily using Agoric SDK. There is also a UI for sell-concert-tickets contract that a user can use to buy three different types of concert tickets and pay through a wallet extension in the browser.

Getting started

Make sure all the required dependecies are already installed (including node, nvm, docker, Keplr, and that your node version is set to 18.x.x by running nvm use 18.20.2. See a tutorial here on how to install these dependecies.). Here are the steps to run dapp-agoric-basics:

To follow more detailed tutorial, go here.

Testing

To perform unit tests: -run the command yarn test in the root directory. To perform end to end test -run the command yarn test:e2e in the root directory.

Contributing

See CONTRIBUTING for more on contributions.