sigblockchain / aurum_client Goto Github PK
View Code? Open in Web Editor NEWTerminal client for interacting with Aurum network
License: MIT License
Terminal client for interacting with Aurum network
License: MIT License
*should be "produced"
https://github.com/SIGBlockchain/aurum_client/blob/master/main.go#L172
dev
called windows_release
go build -o client
main.go
internal/
(yes the whole directory)client -h
worksNo pull request is needed, all this code remains on this branch.
Simply use the functions found here:
https://www.thepolyglotdeveloper.com/2018/02/encrypt-decrypt-data-golang-application-crypto-packages/
encrypt
with library and test fileshashing.New
function in our own hashing
package instead of createHash
panic
, return the error where applicableNew Request called GetProducers
PeerList = http://blockchain.acmapp.tech/peers
PeerList
and returns a slice of stringsdev
called mac_release
go build -o client
main.go
internal/
(yes the whole directory)client -h
worksNo pull request is needed, all this code remains on this branch.
What branch to download, how to setup, describe the different commands, how to maintain integrity of private key, etc.
aurum_wallet.json
and store in a secure location. Include warning about sensitivty of the private key.We will introduce contract histories in our wallet so that people can view the history of all their transactions made.
ContractSummary
, should have a field that designates "to" or "from", a recipient wallet address, and an amountCurrently config.json has the following structure:
{
"Version": 1,
"ProducerAddress": "localhost:12000"
}
context: main.go
Version
to that.x.x.x.x:x
and changes the ProducerAddress
in config.json
to that.Resource: https://golang.org/pkg/flag/
Currently Master branch does not have the README.md we would like to display (dev does).
Change up main.go so that it prints out this message if the corresponding error code is returned:
https://github.com/SIGBlockchain/project_aurum/blob/master/internal/handlers/handlers.go#L19
Same one as project aurum.
package context wallet
Given a hex-string-encoded, PEM-encoded private key, generate an aurum_wallet.json
with that private key and all other fields set to zero.
Suppose wallet address 123456789abcdef123456789abcdef
is a made up wallet address for Richie
.
I want to be able to run
./client -save 123456789abcdef123456789abcdef -as Richie
So I can run
./client -send 1000 -to Richie
or
./client -send 1000 -to 123456789abcdef123456789abcdef
And they will both do the same thing.
Suggestion is to create a JSON file called addressbook
that stores key:value pairs of name:wallet address. Running a contract command should first check to see if the string is a key in the addressbook, and if it is, use the value.
When using the -to
flag in main, proofread the input and make sure it is 64 characters long. If it isn't, report the problem and exit.
-to
argument rejects strings who's length is not equal to 64
.I'd like the ValidRecip
function to check to make sure that the wallet address entered only contains hex characters. Valid hex characters are: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, a, b, c, d, e, f
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.