delphereum icon indicating copy to clipboard operation
delphereum copied to clipboard

Should Change TChain because Can't Use Other Chain

Open yonghumeijj opened this issue 3 years ago • 8 comments

if want to use chain not in Tchain

must modify web3.pas

yonghumeijj avatar Oct 11 '22 04:10 yonghumeijj

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

svanas avatar Oct 11 '22 07:10 svanas

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?

yonghumeijj avatar Oct 11 '22 13:10 yonghumeijj

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

svanas avatar Oct 11 '22 14:10 svanas

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?

yonghumeijj avatar Oct 11 '22 14:10 yonghumeijj

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

svanas avatar Oct 11 '22 14:10 svanas

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

yonghumeijj avatar Oct 11 '22 15:10 yonghumeijj

dude, open a PR and go for it.

svanas avatar Oct 11 '22 15:10 svanas

dude, open a PR and go for it.

Lazy one->me ~ haha

yonghumeijj avatar Oct 11 '22 17:10 yonghumeijj