1.0.15 • Published 2 years ago
@stfy/test-contract-sdk v1.0.15
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
2 years ago
1.0.14
2 years ago
1.0.13
2 years ago
1.0.12
2 years ago
1.0.11
2 years ago
1.0.10
2 years ago
1.0.9
2 years ago
1.0.8
2 years ago
1.0.7
2 years ago
1.0.6
2 years ago
1.0.5
2 years ago
1.0.4
2 years ago
1.0.3
2 years ago
1.0.2
2 years ago
1.0.1
2 years ago
1.0.0
2 years ago
0.0.1-rc.27
2 years ago
0.0.1-rc.26
2 years ago