1.0.15 • Published 3 years ago

@stfy/test-contract-sdk v1.0.15

Weekly downloads
-
License
MIT
Repository
-
Last release
3 years ago

JS SDK CONTRACT CORE

Implements JS Contract SDK core functionality, rpc services, tools and utilities.

Getting Started

Run following in command line:

npm i @wavesenterpise/contract-core

Create contract.ts as follows

import {Action, Contract, ContractState, Param, State} from '@wavesenterpise/contract-core';

@Contract
class MyContract {
    @State state: ContractState;

    @Action
    greeting(@Param('name') name: string) {
        this.state.set('greeting', `Hello, ${name}`);
    }
}

License

This project is licensed under the MIT License.

1.0.15

3 years ago

1.0.14

3 years ago

1.0.13

3 years ago

1.0.12

3 years ago

1.0.11

3 years ago

1.0.10

3 years ago

1.0.9

3 years ago

1.0.8

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago

0.0.1-rc.27

3 years ago

0.0.1-rc.26

3 years ago