Skip to content

Add support for Binance Chain#17

Open
susruth wants to merge 28 commits into
masterfrom
feat/binance-chain
Open

Add support for Binance Chain#17
susruth wants to merge 28 commits into
masterfrom
feat/binance-chain

Conversation

@susruth
Copy link
Copy Markdown
Contributor

@susruth susruth commented Sep 12, 2019

  • This PR adds Binance Chain support to the Mercury SDK

Comment thread types/bnctypes/address.go Outdated
}

func AddressFromBech32(address string, network Network) (Address, error) {
types.Network = network.ChainNetwork()
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is dangerous to change the global variable of the package. Maybe reimplement the function here along with the type you need.

Comment thread types/bnctypes/tx.go
}

func (bncTx *bncTx) Hash() types.TxHash {
panic("unimplemented")
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

implement this !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants