Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ jobs:
docker:
- image: circleci/node:10.13.0
# Run Plug node
- image: plugnet/plugblockchain:1.0.0-rc2
- image: plugnet/plugblockchain:1.0.0-rc3.1
entrypoint: /usr/local/bin/plug
command:
- --dev
Expand Down
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,10 @@ async function main() {

}
```

## Build
To build the package for distribution run:
```
tsc
```

1 change: 1 addition & 0 deletions dist/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,6 @@ declare const PlugRuntimeTypes: {
Doughnut: typeof Doughnut;
ExtrinsicV4: typeof PlugExtrinsicV1;
RewardBalance: string;
Address: string;
};
export default PlugRuntimeTypes;
2 changes: 2 additions & 0 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,7 @@ const PlugRuntimeTypes = {
ExtrinsicV4: Extrinsic_1.default,
// The staking reward currency type
RewardBalance: 'Balance',
// The chain address type is the AccountId type
Address: 'AccountId',
};
exports.default = PlugRuntimeTypes;
2 changes: 2 additions & 0 deletions types/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ const PlugRuntimeTypes = {
ExtrinsicV4: PlugExtrinsicV1,
// The staking reward currency type
RewardBalance: 'Balance',
// The chain address type is the AccountId type
Address: 'AccountId',
};

export default PlugRuntimeTypes;