nyanswap-core

1.0.2 • Public • Published

Nyanswap

Actions Status

Local Development

The following assumes the use of node@>=10.

Install Dependencies

yarn

Compile Contracts

yarn compile

Run Tests

yarn test

Deploy

1. (Optional, if want to deploy locally) Launch a local Ethereum blockchain by using ganache

npx ganache-cli --deterministic

2. Deploy by penZeppelin CLI tool

npx oz deploy

3. Follow OpenZeppelin prompt

Interact with deployed smart contract

1. Sending Transactions

Modifies the blockchain state, need to send a transaction to the contract to execute it

npx oz send-tx

2. Querying State

A query of blockchain state, so we don’t need to send a transaction: a static call will suffice

npx oz call

Package Sidebar

Install

npm i nyanswap-core

Homepage

nyanswap.com

Weekly Downloads

0

Version

1.0.2

License

GPL-3.0-or-later

Unpacked Size

4.63 MB

Total Files

39

Last publish

Collaborators

  • catnip-nyanswap