Merge pull request #96 from alex-semenyuk/update_actions Update github actions
Merge pull request #96 from alex-semenyuk/update_actions
Update github actions
A set of Ethereum transaction signing utilities designed for use across projects:
pkg/rlp
pkg/abi
pkg/ethsigner
pkg/eip712
pkg/keystorev3
{{ADDRESS}}.key
{{ADDRESS}}.toml
{{ADDRESS}}.pass
pkg/fswallet
eth_subscribe
pkg/rpcbackend
A runtime JSON/RPC server/proxy to intercept eth_sendTransaction JSON/RPC calls, and pass other calls through unchanged.
eth_sendTransaction
0x02
net_version
eth_accounts
eth_getTransactionCount
For a full list of configuration options see config.md
Two examples provided below:
fileWallet: path: /data/keystore filenames: with0xPrefix: false primaryExt: '.key.json' passwordExt: '.password' server: address: '127.0.0.1' port: 8545 backend: url: https://blockhain.rpc.endpoint/path
fileWallet: path: /data/keystore filenames: with0xPrefix: false primaryExt: '.toml' metadata: format: toml keyFileProperty: '{{ index .signing "key-file" }}' passwordFileProperty: '{{ index .signing "password-file" }}' server: address: '127.0.0.1' port: 8545 backend: url: https://blockhain.rpc.endpoint/path
Example TOML:
[metadata] description = "File based configuration" [signing] type = "file-based-signer" key-file = "/data/keystore/1f185718734552d08278aa70f804580bab5fd2b4.key.json" password-file = "/data/keystore/1f185718734552d08278aa70f804580bab5fd2b4.pwd"
Apache 2.0
The JSON/RPC proxy and RLP encoding code was contributed by Kaleido, Inc.
secp256k1 cryptography libraries are provided by btcsuite (ISC Licensed):
https://pkg.go.dev/github.com/btcsuite/btcd/btcec
Reference during implementation was made to the web3j implementation of Ethereum RLP encoding, and Keystore V3 wallet files (Apache 2.0 licensed):
https://github.com/web3j/web3j
版权所有:中国计算机学会技术支持:开源发展技术委员会 京ICP备13000930号-9 京公网安备 11010802032778号
Hyperledger FireFly Signer
A set of Ethereum transaction signing utilities designed for use across projects:
Go API libraries
pkg/rlpgo docpkg/abigo docpkg/ethsignergo docpkg/eip712go docpkg/keystorev3go doc{{ADDRESS}}.key/{{ADDRESS}}.tomlor arbitrary regex{{ADDRESS}}.passfilespkg/fswalletgo doceth_subscribesupportpkg/rpcbackendgo docJSON/RPC proxy server
A runtime JSON/RPC server/proxy to intercept
eth_sendTransactionJSON/RPC calls, and pass other calls through unchanged.eth_sendTransactionimplementation to sign transactions0x02transactions, otherwise EIP-155net_versionon startupeth_accountsJSON/RPC method supporteth_getTransactionCountfor each request)JSON/RPC proxy server configuration
For a full list of configuration options see config.md
Example configuration
Two examples provided below:
Flat directory of keys
Directory containing TOML configurations
Example TOML:
License
Apache 2.0
References / credits
JSON/RPC proxy
The JSON/RPC proxy and RLP encoding code was contributed by Kaleido, Inc.
Cryptography
secp256k1 cryptography libraries are provided by btcsuite (ISC Licensed):
https://pkg.go.dev/github.com/btcsuite/btcd/btcec
RLP encoding and keystore
Reference during implementation was made to the web3j implementation of Ethereum RLP encoding, and Keystore V3 wallet files (Apache 2.0 licensed):
https://github.com/web3j/web3j