cryptonative-ch / aqua-smartcontracts

⛓️ Aqua Smart Contracts
GNU Lesser General Public License v3.0
4 stars 5 forks source link

Next sc npm package #124

Closed denciu closed 3 years ago

denciu commented 3 years ago

Description

Aqua-sc package is meant to be single source of truth when it comes to contracts versioning and their deployed addresses. It also contains typechain typings so in theory rest of aqua-* projects doesn't have to generate them by themselves.

The heart of this PR is bundle.ts file. It:

Everything is put to aqua-sc folder which has it's own package.json with publishing config. So far, package is published from my personal npm account. For now only I am able to publish it.

When it comes to versioning I suggest following pattern (used by react team):

"aqua-sc": ">=0.0.0-dev.0 <0.0.0"

This way after npm/yarn install newest dev version of aqua-sc should be installed.

Next steps:

Types of changes

Checklist: