Open ali2210 opened 4 years ago
Hi @ryanc414 , Thanks for taking the time to make this issue.
Swarm is not anymore actively maintaining this project.
For your project, we recommend switching over to bee (documentation here), which provides similar functionality to Swarm, but is build up anew from the grounds up, on more modern foundations, with more rigor during development and with the advancing insight which comes naturally while developing software like Swarm.
If you experience any difficulties with the porting of your code, we are more than happy to assist you.
You can reach out to me on Telegram (@Eknir) or in the BeeHive (same user name), if you need assistance.
Best,
System information
go package Swarm version:
swarm version
OS & Version: Windows/Linux/OSX : Linux Commit hash : (ifdevelop
)Expected behaviour
Project execute prefect
Actual behaviour
project failed to build
Steps to reproduce the behaviour
Go: 1.14 Linux go mod
When ethersphere/swarm/api/client added via module command it throw me these error
github.com/ethersphere/swarm/contracts/ens/contract
../../../pkg/mod/github.com/ethersphere/swarm@v0.5.7/contracts/ens/contract/ens.go:23:6: undefined: abi.U256 ../../../pkg/mod/github.com/ethersphere/swarm@v0.5.7/contracts/ens/contract/ensregistry.go:23:6: undefined: abi.U256 ../../../pkg/mod/github.com/ethersphere/swarm@v0.5.7/contracts/ens/contract/fifsregistrar.go:23:6: undefined: abi.U256 ../../../pkg/mod/github.com/ethersphere/swarm@v0.5.7/contracts/ens/contract/publicresolver.go:23:6: undefined: abi.U256
github.com/ethersphere/swarm/network/stream
../../../pkg/mod/github.com/ethersphere/swarm@v0.5.7/network/stream/stream.go:56:4: undefined: node.Service
github.com/ethersphere/go-sw3/contracts-v0-2-0/erc20simpleswap
../../../pkg/mod/github.com/ethersphere/go-sw3@v0.2.1/contracts-v0-2-0/erc20simpleswap/erc20simpleswap.go:23:6: undefined: abi.U256
github.com/ethersphere/go-sw3/contracts-v0-2-0/simpleswapfactory
../../../pkg/mod/github.com/ethersphere/go-sw3@v0.2.1/contracts-v0-2-0/simpleswapfactory/simpleswapfactory.go:23:6: undefined: abi.U256 How I could resolve this error
Backtrace