8000 GitHub - Aro1914/beaker-auction
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Aro1914/beaker-auction

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This repo contains

  1. An auction smart contract written with PyTeal and Beaker
  2. Python Tests written with Beaker and pytest
  3. TypeScript Tests written with beaker-ts and jest
  4. A web-based front-end written with js-algorand-sdk and beaker-ts (based on algo-web-template)

Install python dependencies

  1. python -m venv .venv and source .venv/bin/activate to create a virtual environment to install python dependencies
  2. pip3 install -r requirements.txt to install python dependencies

Usage

Python Tests (PyTest)

  1. source .venv/bin/activate to activate virtual environment
  2. python auction.py to generate artifacts (.teal, .json files)
  3. pytest to execute tests

Web Front End

  1. cd web/
  2. npm i to install the nodeJS dependencies
  3. npm run beaker to compile the smart contract and generate the typescript class for the beaker application
  4. npm run serve to serve and open web app

To use the app you must have at least one account in MyAlgo funded on testnet. You can get testnet funds here

TypeScript Tests (Jest)

  1. cd web/
  2. npm i to install the nodeJS dependencies
  3. npm run test to compile and run Jest tests

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 48.1%
  • Python 39.5%
  • JavaScript 9.6%
  • HTML 2.8%
0