Skip to content

A repo for bootstraping a typescript application for arweave and smartweave

License

Notifications You must be signed in to change notification settings

luca-arweave/arweave-smartweave-typescript-template

Repository files navigation

Arweave and SmartWeave Typescript Bootstrap Repo

This is a repository that should help to bootstrap a new project on the top or Arweave and SmartWeave. It uses: - typescript - Arweave latest version - SmartWeave latest version - Chai and Mocha for testing - Instanbul Nyc for checking test coverage - Typedoc for automatically create documentation

Bootstrap your project

Follow these steps to bootstrap your project

  1. clone this repo
  2. search all files for "arweave-smartweave-typescript-template" and replace all occurrences with the name of your project (or whatever)
  3. run rm -fr .git
  4. run npm install
  5. happy BUDLING 🚀 ! Your project will surely be the best project built on Arweave 🖖!

Guidelines

  • the src/interface folder is the folder that should contain all the interfaces
  • the src/classes folder is the folder that should contain all the classes
  • the src/types folder is the folder that should contain all the types
  • the src/contracts folder should contain all the SmartWeave contract of your project
  • the src/index.js should be the entry point
  • the test folder should contain your tests

Built in Commands

  • run npm build to build for production. Builds will be put in the dist folder
  • run npm test for launching unit tests on your project
  • run npm run lint for checking the formatting of your project
  • run npm run coverage to check the coverage of your test functions
  • run npm run generate:docs to build automatically generate the code documentation (in the docs folder)

About

A repo for bootstraping a typescript application for arweave and smartweave

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published