Skip to content

Commit bd7ee82

Browse files
hunshenshisaitofun
authored andcommitted
[ioctl][ws] update ws default value (#4285)
* feat(ioctl/ws): sync latest w3bstream contract abis and generate go code * feat(ioctl/config): add ws contract address configurations * feat(ioctl/ws): ioctl support ws project contracts interactions * feat(ioctl/ws): ioctl support ws prover contracts interactions * feat(ioctl/ws): ioctl support ws project device contract interactions * feat(ioctl/ioid): ioctl support ioid interactions * chore: remove redundent abis * fix: transfer amount flag type change to string * feat(ioctl): update default value in ws --------- Co-authored-by: sincos <birdyfj@gmail.com>
1 parent c39e507 commit bd7ee82

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

ioctl/config/configsetget.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,19 +29,19 @@ const (
2929
_defaultEndpoint = "api.iotex.one:443"
3030
_defaultAnalyserEndpoint = "https://iotex-analyser-api-mainnet.chainanalytics.org"
3131
// _defaultWsEndpoint default w3bstream endpoint
32-
_defaultWsEndpoint = "sprout-staging.w3bstream.com:9000"
32+
_defaultWsEndpoint = "https://sprout-testnet.w3bstream.com"
3333
// _defaultIPFSEndpoint default IPFS endpoint for uploading
3434
_defaultIPFSEndpoint = "ipfs.mainnet.iotex.io"
3535
// _defaultIPFSGateway default IPFS gateway for resource fetching
3636
_defaultIPFSGateway = "https://ipfs.io"
3737
// _defaultWsProjectRegisterContract default project register contract address
38-
_defaultWsProjectRegisterContract = "0x80b49a5788DcE3eAbFcc46780dEA965602f869C9"
38+
_defaultWsProjectRegisterContract = "0x4888bfbf39Dc83C19cbBcb307ccE8F7F93b72E38"
3939
// _defaultWsProjectStoreContract default project store contract address
40-
_defaultWsProjectStoreContract = "0xf9B976C0127BC38E56fb97B0B1e1408e6F2737CE"
40+
_defaultWsProjectStoreContract = "0x6AfCB0EB71B7246A68Bb9c0bFbe5cD7c11c4839f"
4141
// _defaultWsFleetManagementContract default fleet management contract address
42-
_defaultWsFleetManagementContract = "0x698D8cEfe0c2E603DCA4B7815cb8E67F251eCF37"
42+
_defaultWsFleetManagementContract = "0xDBA78C8eCaeE2DB9DDE0c4168f7E8626d4Ff0010"
4343
// _defaultWsProverStoreContract default prover store contract address
44-
_defaultWsProverStoreContract = "0xa9bed62ADB1708E0c501664C9CE6A34BC4Fc246b"
44+
_defaultWsProverStoreContract = "0xAD480a9c1B9fA8dD118c26Ac26880727160D0448"
4545
// _defaultWsProjectDevicesContract default project devices contract address
4646
_defaultWsProjectDevicesContract = "0x3d6b6c7bDB72e8BF73780f433342759d8b329Ca5"
4747
)

ioctl/newcmd/config/config.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,19 +35,19 @@ const (
3535
_defaultAnalyserEndpoint = "https://iotex-analyser-api-mainnet.chainanalytics.org"
3636
_defaultConfigFileName = "config.default"
3737
// _defaultWsEndpoint default w3bstream endpoint
38-
_defaultWsEndpoint = "sprout-staging.w3bstream.com:9000"
38+
_defaultWsEndpoint = "https://sprout-testnet.w3bstream.com"
3939
// _defaultIPFSEndpoint default IPFS endpoint for uploading
4040
_defaultIPFSEndpoint = "ipfs.mainnet.iotex.io"
4141
// _defaultIPFSGateway default IPFS gateway for resource fetching
4242
_defaultIPFSGateway = "https://ipfs.io"
4343
// _defaultWsProjectRegisterContract default project register contract address
44-
_defaultWsProjectRegisterContract = "0x80b49a5788DcE3eAbFcc46780dEA965602f869C9"
44+
_defaultWsProjectRegisterContract = "0x4888bfbf39Dc83C19cbBcb307ccE8F7F93b72E38"
4545
// _defaultWsProjectStoreContract default project store contract address
46-
_defaultWsProjectStoreContract = "0xf9B976C0127BC38E56fb97B0B1e1408e6F2737CE"
46+
_defaultWsProjectStoreContract = "0x6AfCB0EB71B7246A68Bb9c0bFbe5cD7c11c4839f"
4747
// _defaultWsFleetManagementContract default fleet management contract address
48-
_defaultWsFleetManagementContract = "0x698D8cEfe0c2E603DCA4B7815cb8E67F251eCF37"
48+
_defaultWsFleetManagementContract = "0xDBA78C8eCaeE2DB9DDE0c4168f7E8626d4Ff0010"
4949
// _defaultWsProverStoreContract default prover store contract address
50-
_defaultWsProverStoreContract = "0xa9bed62ADB1708E0c501664C9CE6A34BC4Fc246b"
50+
_defaultWsProverStoreContract = "0xAD480a9c1B9fA8dD118c26Ac26880727160D0448"
5151
// _defaultWsProjectDevicesContract default project device contract address
5252
_defaultWsProjectDevicesContract = "0x3d6b6c7bDB72e8BF73780f433342759d8b329Ca5"
5353
)

0 commit comments

Comments
 (0)