This repository was archived by the owner on Jun 30, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
First implementation #1
Merged
Merged
Changes from all commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
048e692
initial commit
1d2dd6d
update readme + docs
60159bd
docs: fix some typos
cbc66c2
docs: fix typos in readme.md
f989e15
feat: add support for vesting contract and htlc
mariofriz d1b72db
feat(transaction): add flags field
mariofriz 89bbb7e
fix(functions): round results to ensure expected precision
mariofriz ad9eda1
fix: clean useless break statements & extract duplicate code into fun…
mariofriz 167ac15
chore: rename to NimiqCommunity/RpcClient
mariofriz File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# https://editorconfig.org/ | ||
|
||
root = true | ||
|
||
[*] | ||
trim_trailing_whitespace = true | ||
insert_final_newline = true | ||
end_of_line = lf | ||
charset = utf-8 | ||
tab_width = 4 | ||
indent_size = 4 | ||
indent_style = space |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
name: ci | ||
|
||
on: | ||
push: | ||
branches: [ master ] | ||
pull_request: | ||
branches: [ master ] | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Validate composer.json and composer.lock | ||
run: composer validate | ||
|
||
- name: Install dependencies | ||
run: composer install --prefer-dist --no-progress --no-suggest | ||
|
||
- name: Run test suite | ||
run: composer run-script test |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
.DS_Store | ||
Thumbs.db | ||
/.idea | ||
/.vscode | ||
|
||
/vendor | ||
/coverage | ||
/build | ||
composer.phar | ||
composer.lock | ||
.phpunit.result.cache | ||
sample.php | ||
phpDocumentor.phar |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
{ | ||
"name": "nimiq-community/php-client", | ||
"description": "Nimiq RPC Client for PHP", | ||
"homepage": "https://github.com/nimiq-community/php-client", | ||
"type": "library", | ||
"license": "MIT", | ||
"authors": [ | ||
{ | ||
"name": "Mario", | ||
"role": "Developer" | ||
} | ||
], | ||
"scripts": { | ||
"test": "vendor/bin/phpunit", | ||
"coverage": "vendor/bin/phpunit --coverage-html coverage", | ||
"docs": "vendor/bin/phpdoc" | ||
}, | ||
"require": { | ||
"php": ">=7.1", | ||
"guzzlehttp/guzzle": "^6.5" | ||
}, | ||
"require-dev": { | ||
"phpunit/phpunit": "^8.0", | ||
"cvuorinen/phpdoc-markdown-public": "^0.2" | ||
}, | ||
"autoload": { | ||
"psr-4": { | ||
"NimiqCommunity\\RpcClient\\": "src" | ||
}, | ||
"files": [ | ||
"src/functions.php" | ||
] | ||
} | ||
} |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.