File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 7878 "@types/mocha" : " ^10.0.0" ,
7979 "@types/node" : " ^12.20.43" ,
8080 "@types/urijs" : " ^1.19.12" ,
81- "kios-sdk-client-v2" : " ~2.22 .0" ,
81+ "kios-sdk-client-v2" : " ~2.23 .0" ,
8282 "assert" : " ^2.0.0" ,
8383 "axios" : " 1.7.8" ,
8484 "beautify" : " ^0.0.8" ,
Original file line number Diff line number Diff line change @@ -45,6 +45,8 @@ async function main() {
4545 console . log ( ` - point.value: ${ new BOACoin ( summary . mainChain . point . value ) . toDisplayString ( true , 4 ) } ` ) ;
4646 console . log ( ` - token.balance: ${ new BOACoin ( summary . mainChain . token . balance ) . toDisplayString ( true , 4 ) } ` ) ;
4747 console . log ( ` - token.value: ${ new BOACoin ( summary . mainChain . token . value ) . toDisplayString ( true , 4 ) } ` ) ;
48+ console . log ( ` - token2.balance: ${ new BOACoin ( summary . mainChain . token2 . balance ) . toDisplayString ( true , 4 ) } ` ) ;
49+ console . log ( ` - token2.value: ${ new BOACoin ( summary . mainChain . token2 . value ) . toDisplayString ( true , 4 ) } ` ) ;
4850
4951 console . log ( `- sideChain` ) ;
5052 console . log ( ` - point.balance: ${ new BOACoin ( summary . sideChain . point . balance ) . toDisplayString ( true , 4 ) } ` ) ;
Original file line number Diff line number Diff line change @@ -33,13 +33,13 @@ export class Client {
3333 } ;
3434 } else if ( network === NetWorkType . mainnet ) {
3535 this . endpoints = {
36- relay : "https://relay.main.kioscoin.io " ,
37- save : "https://save.main.kioscoin.io " ,
36+ relay : "https://relay-mainnet.kios.bosagora.com/ " ,
37+ save : "https://save-mainnet.kios.bosagora.com/ " ,
3838 } ;
3939 } else {
4040 this . endpoints = {
41- relay : "https://relay.test.kioscoin.io " ,
42- save : "https://save.test.kioscoin.io " ,
41+ relay : "https://relay-testnet.kios.bosagora.com/ " ,
42+ save : "https://save-testnet.kios.bosagora.com/ " ,
4343 } ;
4444 }
4545 }
Original file line number Diff line number Diff line change 11{
22 "name" : " kios-sdk-client-v2" ,
3- "version" : " 2.22 .0" ,
3+ "version" : " 2.23 .0" ,
44 "author" : " BOSagora Foundation" ,
55 "license" : " AGPL-3.0-or-later" ,
66 "main" : " dist/index.js" ,
Original file line number Diff line number Diff line change @@ -16,8 +16,8 @@ export const LIVE_CONTRACTS: { [K in SupportedNetwork]: NetworkDeployment } = {
1616 LoyaltyTransferAddress : activeContractsList . mainnet . LoyaltyTransfer ,
1717 LoyaltyBridgeAddress : activeContractsList . mainnet . LoyaltyBridge ,
1818 network : 215120 ,
19- web3Endpoint : "https://rpc.main.kioscoin.io /" ,
20- relayEndpoint : "https://relay.main.kioscoin.io /"
19+ web3Endpoint : "https://rpc-mainnet.kios.bosagora.com /" ,
20+ relayEndpoint : "https://relay-mainnet.kios.bosagora.com /"
2121 } ,
2222 kios_testnet : {
2323 PhoneLinkCollectionAddress : activeContractsList . testnet . PhoneLinkCollection ,
@@ -32,8 +32,8 @@ export const LIVE_CONTRACTS: { [K in SupportedNetwork]: NetworkDeployment } = {
3232 LoyaltyTransferAddress : activeContractsList . testnet . LoyaltyTransfer ,
3333 LoyaltyBridgeAddress : activeContractsList . testnet . LoyaltyBridge ,
3434 network : 215125 ,
35- web3Endpoint : "https://rpc.test.kioscoin.io /" ,
36- relayEndpoint : "https://relay.test.kioscoin.io /"
35+ web3Endpoint : "https://rpc-testnet.kios.bosagora.com /" ,
36+ relayEndpoint : "https://relay-testnet.kios.bosagora.com /"
3737 } ,
3838 kios_devnet : {
3939 PhoneLinkCollectionAddress : activeContractsList . devnet . PhoneLinkCollection ,
You can’t perform that action at this time.
0 commit comments