Giter Club home page Giter Club logo

casper-golang-sdk's People

Contributors

darthsiroftardis avatar n-shaburoff avatar piotr-dziubecki avatar sacherjj avatar volendi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

casper-golang-sdk's Issues

RPC endpoint

Hello
I'm working on this Hackathon.
To be able to run the tests I need an testnet RPC endpoint. Could you provide a link?
Thank you

Where to get initiale stateRootHash?

Hello!
trying to create a wallet for Casper using the casper-go-sdk

a bunch of methods receive stateRootHash as a parameter.

Where to get this stateRootHash?
I have taken a look at your tests, but there this value is hardcoded.

Thanks!

How to get Public Key from account hash?

client := sdk.NewRpcClient("xxxxx")
ressult, err := client.GetBlockTransfersByHeight(10000)
for _, r := range res {
    fmt.Println(r.DeployHash)
    fmt.Println(r.From)
    fmt.Println(r.To)
    fmt.Println(r.Amount)
}

From and To The format is account-hash-xxx
So, How to get Public Key from account hash?
Because exchanges use public key as the deposit address.

thanks

It does not work

I try to load a key pair and it fails. Does not work at all.

keyPair, err := ed25519.ParseKeyFiles("./pubkey.pem", "./privkey.pem")
if err != nil {
 return Asset{}, err
}

I get illegal base64 data at input byte 64...

Casper Association GOLANG SDK Development

@Volendi @n-shaburoff Hi guys. My name is Mark Greenslade and I am representing the Casper Association and we would like to reach out to you in respect of work on the Casper GO SDK. Would you be available for a call in order to discuss the current state of development, the future steps, and also the contractual situation ?

when to impl put deploy for secp256k1 module

	amountBytes, err := serialization.Marshal(serialization.U512{Int: *amount})
	if err != nil {
		return nil
	}

	var accountHex string

	if target.Tag == keypair.KeyTagEd25519 {
		accountHex = ed25519.AccountHash(target.PubKeyData)
	} else {
		// FIXME: implement secp256k1 module
		return nil
	}

	idValue := Value{
		Tag:        types.CLTypeOption,
		IsOptional: true,
		Optional: &Value{
			Tag: types.CLTypeU64,
		},
	}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.