
Security News
PodRocket Podcast: Inside the Recent npm Supply Chain Attacks
Socket CEO Feross Aboukhadijeh discusses the recent npm supply chain attacks on PodRocket, covering novel attack vectors and how developers can protect themselves.
@safe-global/safe-apps-react-sdk
Advanced tools
[](https://www.npmjs.com/package/@safe-global/safe-apps-react-sdk)
This SDK should provide a simple way to write a React.js Safe app
yarn add @safe-global/safe-apps-react-sdk
npm i @safe-global/safe-apps-react-sdk
SafeProvider
Safe provider accepts loader
and options
props// ... other imports
import SafeProvider from '@safe-global/safe-apps-react-sdk';
ReactDOM.render(
<React.StrictMode>
<SafeProvider>
<App /> // Your app
</SafeProvider>
</React.StrictMode>,
document.getElementById('root'),
);
// ... other imports
import { useSafeAppsSDK } from '@safe-global/safe-apps-react-sdk';
const App = () => {
const { sdk, connected, safe } = useSafeAppsSDK();
return <div>{safe.safeAddress}</div>;
};
import { BaseTransaction } from '@safe-global/safe-apps-sdk'
const txs: BaseTransaction[] = [
{
to: '0x31415629...',
value: '0',
data: '0xbaddad',
},
//...
];
// Returns a hash to identify the Safe transaction
const safeTxHash: string = await sdk.txs.send({ txs });
const safeTx: SafeTransaction = await sdk.txs.getBySafeTxHash(safeTxHash);
For all available sdk methods, please refer to the safe-apps-sdk documentation
FAQs
[](https://www.npmjs.com/package/@safe-global/safe-apps-react-sdk)
The npm package @safe-global/safe-apps-react-sdk receives a total of 685 weekly downloads. As such, @safe-global/safe-apps-react-sdk popularity was classified as not popular.
We found that @safe-global/safe-apps-react-sdk demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers 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
Socket CEO Feross Aboukhadijeh discusses the recent npm supply chain attacks on PodRocket, covering novel attack vectors and how developers can protect themselves.
Security News
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.
Product
Socket Firewall is a free tool that blocks malicious packages at install time, giving developers proactive protection against rising supply chain attacks.