ipld / ipld/java-ipld-cbor

filecoin SignedMessage how to use java MarshalCBOR

Open
#1 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
13
Forks
8
PR merge metrics
No merged PRs in 30d

Description

filecoin SignedMessage how to use java MarshalCBOR .

The following is the source code of go language, how to use Java language to encode it

```

type SignedMessage struct {
Message Message
Signature crypto.Signature
}

type Message struct {
Version uint64

To address.Address
From address.Address

Nonce uint64

Value abi.TokenAmount

GasLimit int64
GasFeeCap abi.TokenAmount
GasPremium abi.TokenAmount

Method abi.MethodNum
Params []byte
}

type Signature struct {
Type SigType
Data []byte
}

``

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue provides Go definitions for SignedMessage, Message, and Signature but names no Java files or tests. Start by locating the Java IPLD CBOR encoding API and compare its supported types with the supplied structure; done should be a clear Java encoding approach or example for this data.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
backend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.