svanas / delphereum

web3 implementation for the Delphi programming language
Other
134 stars 50 forks source link

Should Change TChain because Can't Use Other Chain #40

Closed yonghumeijj closed 1 year ago

yonghumeijj commented 1 year ago

if want to use chain not in Tchain

must modify web3.pas

svanas commented 1 year ago

Correct, you must modify web3.pas. What chain do you want to use?

yonghumeijj commented 1 year ago

Correct, you must modify web3.pas. What chain do you want to use?

I think tchain can change to a type like record or class.what i can create outer(like i set chain id blockexplorerurl ) then pass to web3.

right?

svanas commented 1 year ago

Sure we can but that is not how Delphereum was designed. You are free to open a PR.

yonghumeijj commented 1 year ago

Sure we can but that is not how Delphereum was designed. You are free to open a PR.

Delphereum was designed to use some special chain?

svanas commented 1 year ago

Delphereum was designed with an enum for supported networks, not to use some special chain.

yonghumeijj commented 1 year ago

Delphereum was designed with an enum for supported networks, not to use some special chain.

many chain is base on eth most function can be use in this type of chain.like heco or some testnet

svanas commented 1 year ago

dude, open a PR and go for it.

yonghumeijj commented 1 year ago

dude, open a PR and go for it.

Lazy one->me ~ haha