DataPushButton
Push structured data to the Bitcoin blockchain using predefined protocol templates
🔧
Live preview would be rendered here
Component: DataPushButton
Install component
npm$
npm install bigblocks
import { DataPushButton } from 'bigblocks';
function MyComponent() {
return (
<DataPushButton
onSuccess={(result) => {
console.log('Data pushed:', result.txid);
console.log('Template used:', result.template);
console.log('Data array:', result.data);
}}
onError={(error) => {
console.error('Push failed:', error);
}}
/>
);
}