Compare commits

...

39 Commits

Author SHA1 Message Date
semantic-release-bot 8dbac7d8f6 chore(release): 0.0.2-develop.1 [skip ci]
## [0.0.2-develop.1](https://git.lumeweb.com/LumeWeb/kernel-eth-client/compare/v0.0.1...v0.0.2-develop.1) (2023-07-14)
2023-07-14 08:41:46 +00:00
Derrick Hammer 10471a48f9
ci: setup 2023-07-14 04:39:18 -04:00
Derrick Hammer 2368491114
dep: update module hash 2023-07-14 04:39:18 -04:00
Derrick Hammer f89046fdab
refactor: move to new build system and sdks 2023-07-14 04:39:17 -04:00
Derrick Hammer 53e1d1b481
*update dist 2023-04-16 23:29:34 -04:00
Derrick Hammer 45ea96d2ff
*update module hash 2023-04-16 23:29:19 -04:00
Derrick Hammer 6877c7ec2b
*update dist 2023-04-09 13:47:16 -04:00
Derrick Hammer 94c1397e78
*update module hash 2023-04-09 13:47:03 -04:00
Derrick Hammer cac9b71168
*update dist 2023-04-09 12:58:41 -04:00
Derrick Hammer 36d9f6ad4a
*update module hash 2023-04-09 12:58:10 -04:00
Derrick Hammer e0b79386d4
*update dist 2023-04-08 21:56:32 -04:00
Derrick Hammer 5ef11cb5cb
*update module hash 2023-04-08 21:56:27 -04:00
Derrick Hammer 952351350d
*update module hash 2023-04-08 21:56:05 -04:00
Derrick Hammer 275e364776
*update dist 2023-04-08 21:22:48 -04:00
Derrick Hammer 6364567241
*update module hash 2023-04-08 21:22:37 -04:00
Derrick Hammer 80dbc1a7ff
*update dist 2023-04-05 16:09:12 -04:00
Derrick Hammer b784b356c0
*update module hash 2023-04-05 16:08:20 -04:00
Derrick Hammer 9f580fcdf5
*update dist 2023-04-04 11:30:01 -04:00
Derrick Hammer 0f67ea9003
*update module hash 2023-04-04 11:29:45 -04:00
Derrick Hammer 4990c40f58
*update dist 2023-04-04 08:12:55 -04:00
Derrick Hammer ef84ee598b
*update module hash 2023-04-04 08:12:42 -04:00
Derrick Hammer b6e209d094
*update dist 2023-04-04 06:45:55 -04:00
Derrick Hammer 3ad3e89b97
*update module hash 2023-04-04 06:45:36 -04:00
Derrick Hammer e6d864ce28
*Update dist 2023-03-29 17:34:57 -04:00
Derrick Hammer e9f7463556
*Update module hash 2023-03-29 17:34:32 -04:00
Derrick Hammer cfbc7e1569
*Update dist 2023-03-29 17:09:07 -04:00
Derrick Hammer fc0817f1d0
*Update module hash 2023-03-29 17:08:54 -04:00
Derrick Hammer a9d1ad6947
*Update dist 2023-03-29 06:22:01 -04:00
Derrick Hammer 33c69f6adf
*Update module hash 2023-03-29 06:21:46 -04:00
Derrick Hammer ad3397d8dc
*Update dist 2023-03-28 07:57:05 -04:00
Derrick Hammer cd7db63ed7
*Update module hash 2023-03-28 07:56:45 -04:00
Derrick Hammer d78e482fa2
*Update module hash 2023-03-28 07:28:33 -04:00
Derrick Hammer 2bd05a6db5
*Update module hash 2023-03-28 07:28:08 -04:00
Derrick Hammer 6a35f9088f
*Update dist 2023-03-27 15:27:19 -04:00
Derrick Hammer d8b6be5ab0
*Update module hash 2023-03-27 15:26:46 -04:00
Derrick Hammer cd9dad47dc
*Update dist 2023-03-27 12:05:55 -04:00
Derrick Hammer 4cc21a3122
*Method needs to call the rpc method, not "method" 2023-03-27 12:05:29 -04:00
Derrick Hammer 2ad0e8c949
*Add LICENSE 2023-03-27 09:02:03 -04:00
Derrick Hammer 8c2dac5b59
*Add dist 2023-03-27 08:55:41 -04:00
8 changed files with 18320 additions and 44 deletions

13
.github/workflows/ci.yml vendored Normal file
View File

@ -0,0 +1,13 @@
name: Build/Publish
on:
push:
branches:
- master
- develop
- develop-*
jobs:
main:
uses: lumeweb/github-node-deploy-workflow/.github/workflows/main.yml@master
secrets: inherit

5
.presetterrc.json Normal file
View File

@ -0,0 +1,5 @@
{
"preset": [
"@lumeweb/node-library-preset"
]
}

1
CHANGELOG.md Normal file
View File

@ -0,0 +1 @@
## [0.0.2-develop.1](https://git.lumeweb.com/LumeWeb/kernel-eth-client/compare/v0.0.1...v0.0.2-develop.1) (2023-07-14)

21
LICENSE Normal file
View File

@ -0,0 +1,21 @@
MIT License
Copyright (c) 2023 Hammer Technologies LLC
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

18253
npm-shrinkwrap.json generated Normal file

File diff suppressed because it is too large Load Diff

View File

@ -1,24 +1,30 @@
{
"name": "@lumeweb/kernel-eth-client",
"version": "0.1.0",
"version": "0.0.2-develop.1",
"type": "module",
"main": "dist/index.js",
"dependencies": {
"@lumeweb/libkernel-universal": "git+https://git.lumeweb.com/LumeWeb/libkernel-universal.git",
"@lumeweb/rpc-client": "git+https://git.lumeweb.com/LumeWeb/rpc-client.git",
"buffer": "^6.0.3",
"ethers": "^6.2.2",
"libkernel": "^0.1.48",
"libkmodule": "^0.2.53",
"libskynet": "^0.0.62"
"main": "lib/index.js",
"repository": {
"type": "git",
"url": "gitea@git.lumeweb.com:LumeWeb/kernel-eth-client.git"
},
"devDependencies": {
"@lumeweb/cfg": "git+https://git.lumeweb.com/LumeWeb/cfg.git",
"@lumeweb/interface-relay": "git+https://git.lumeweb.com/LumeWeb/interface-relay.git",
"@types/b4a": "^1.6.0",
"@types/node": "^18.15.5",
"@types/node-cache": "^4.2.5",
"prettier": "^2.8.6",
"typescript": "^5.0.2"
"@lumeweb/node-library-preset": "^0.2.7",
"ethers": "^6.6.3",
"presetter": "*"
},
"readme": "ERROR: No README data found!",
"scripts": {
"prepare": "presetter bootstrap",
"build": "run build",
"semantic-release": "semantic-release"
},
"dependencies": {
"@lumeweb/libkernel": "^0.1.0-develop.16"
},
"files": [
"lib"
],
"publishConfig": {
"access": "public"
}
}

View File

@ -1,14 +1,14 @@
import { Client, factory } from "@lumeweb/libkernel-universal";
import { Client, factory } from "@lumeweb/libkernel/module";
const RPC_MODULE = "AAAkzekB6FeX9sW2oBKOZ32G_2oU2oQWJIE9Iv4p6xBVGw";
const MODULE = "zduKW55byJGtigF9TcVmrBJzGidXUHBifAo5Yxb211fzw86W1tbG9WmKqh";
export class EthClient extends Client {
public async ready() {
return this.callModuleReturn("ready");
}
public async method(method: string, params: any) {
return this.callModuleReturn("method", params);
return this.callModuleReturn(method, params);
}
}
export const createClient = factory<EthClient>(EthClient, RPC_MODULE);
export const createClient = factory<EthClient>(EthClient, MODULE);

View File

@ -1,23 +0,0 @@
{
"compilerOptions": {
"declaration": true,
"strict": true,
"module": "esnext",
"target": "esnext",
"esModuleInterop": true,
"sourceMap": false,
"rootDir": "src",
"outDir": "dist",
"typeRoots": [
"node_modules/@types",
],
"moduleResolution": "nodenext",
"declarationMap": true,
"declarationDir": "dist",
"emitDeclarationOnly": false,
"allowJs": true
},
"include": [
"src"
]
}