
Security News
Axios Supply Chain Attack Reaches OpenAI macOS Signing Pipeline, Forces Certificate Rotation
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.
cool-connect
Advanced tools
Welcome to Cool-Connect! This package, developed by Aukfa Inc., allows seamless integration with the Paycool+ wallet.
Welcome to Cool-Connect! This package, developed by Aukfa Inc., allows seamless integration with the Paycool+ wallet.
Cool-Connect enables developers to easily connect to the Paycool+ wallet, facilitating various interactions and transaction signing.
To install the Cool-Connect package, use the following command:
npm install cool-connect
Integrating with the Paycool+ wallet involves three main steps:
URL Example: http://domain.com/?locale=en&utm_source=paycool&deviceId=C1F19DF6-F224-4B73-B82A-247CCBD8BE4D
private initializeUrlParams(): void {
const urllang = window.location.pathname.split('/')[1];
this.urllang = urllang || 'en';
const queryString = window.location.href.split('?')[1];
if (queryString) {
const params = new URLSearchParams(queryString);
this.device_id = params.get('deviceId') ? decodeURIComponent(params.get('deviceId')!) : '';
this.urllang = params.get('locale') ? decodeURIComponent(params.get('locale')!) : this.urllang;
}
}
private readonly PAYCOOL_EVENT_NAME = 'Paycool-Data';
// Event listener implementation
window.addEventListener(this.PAYCOOL_EVENT_NAME, (event: CustomEvent) => {
// Handle wallet information
const walletInfo = event.detail;
console.log('Received wallet information:', walletInfo);
});
Connection Management Establish a connection with the Paycool system using the createConnection function:
import { createConnection, closeConnection } from 'cool-connect';
const connection = createConnection(deviceId);
// Listen for responses
connection.subscribe((response) => {
switch (response.source) {
case 'paycool-result':
const txId = response.data;
console.log('Transaction ID:', txId);
break;
case 'paycool-connect':
const walletInfo = response.data;
console.log('Wallet information:', walletInfo);
break;
}
});
// Close the connection when needed
closeConnection();
Wallet Interaction Retrieve wallet information using the getWalletAddress function if required:
const walletAddress = connection.getWalletAddress();
console.log('Wallet Address:', walletAddress);
Transaction Signing Sign transactions using the send function, providing the necessary data structure:
const transaction = {
source: 'appName-appFunction',
chain: 'ETH',
data: [
{
// Transaction data
},
],
};
connection.send(transaction);
We welcome contributions! Please follow these guidelines when contributing to the project:
Report issues via the GitHub issue tracker. Submit pull requests with clear descriptions of changes.
For any inquiries, please contact us at marketing@pay.cool.
This updated README.md provides a comprehensive guide to integrating the cool-connect package with a focus on Paycool+ wallet interactions. Let me know if you need any more changes or additional details!
FAQs
Welcome to Cool-Connect! This package, developed by Aukfa Inc., allows seamless integration with the Paycool+ wallet.
We found that cool-connect demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.

Security News
Open source is under attack because of how much value it creates. It has been the foundation of every major software innovation for the last three decades. This is not the time to walk away from it.

Security News
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.