Skip to content

Instantly share code, notes, and snippets.

@dreadedhamish
Last active June 13, 2024 04:14
Show Gist options
  • Save dreadedhamish/1461016b85c26770bc84355ca4890cd1 to your computer and use it in GitHub Desktop.
Save dreadedhamish/1461016b85c26770bc84355ca4890cd1 to your computer and use it in GitHub Desktop.
Pulsecoin Example Token Creation
{
"jsonrpc": "2.0",
"id": "1",
"result": {
"blockHash": "0x2be7a6019317d159a341557988eb1731cbd24809e87e7b9717a803f9103343a6",
"blockNumber": "0x1359902",
"from": "0xe65831b6fb6edaddf0094cbed148d355515176be", // Creator wallet
"gas": "0xb13e4",
"gasPrice": "0x19abac17994b7",
"maxPriorityFeePerGas": "0xc4679b3c054",
"maxFeePerGas": "0x22a6b87e12db8",
"hash": "0x6502c72104dfb688e0f5ac07d5056c6eab83bc3c5e649fe8dd66215aa32c73fe",
"input": "0x6edc6091000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000023919aabbc6bea0b0000000000000000000000000000000000000000000000000000000000000000000008317374546f6b656e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000033153540000000000000000000000000000000000000000000000000000000000",
// "input": "0x6edc6091 - InitiateMint, name, symbol, initialSupply
"nonce": "0x0",
"to": "0xa028a1ba4add7c79f923bba40ddb46b9c347027e", // PulseCoinERC20Factory
"transactionIndex": "0xf",
"value": "0x0",
"type": "0x2",
"accessList": [],
"chainId": "0x171",
"v": "0x0",
"r": "0x13d701eb1f02c65cc9e119aa4e7763d214c46da75463d6bf37c56bd40e67a6a2",
"s": "0x39e5380a303fa1f81d6b6a163d3f7bcc23372c96898c15d09367d75bca925894"
}
}
{
"jsonrpc": "2.0",
"id": "1",
"result": {
"blockHash": "0x2be7a6019317d159a341557988eb1731cbd24809e87e7b9717a803f9103343a6",
"blockNumber": "0x1359902",
"contractAddress": null,
"cumulativeGasUsed": "0xda07c7",
"effectiveGasPrice": "0x19abac17994b7",
"from": "0xe65831b6fb6edaddf0094cbed148d355515176be", // Creator Wallet
"gasUsed": "0x92814",
"logs": [
{
"address": "0x88d2cf2d65e26ab9387b002b6f78cc70f5ed5bab", // New Token Address
"topics": [
"0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef", // Transfer
"0x0000000000000000000000000000000000000000000000000000000000000000",
"0x000000000000000000000000a028a1ba4add7c79f923bba40ddb46b9c347027e"
],
"data": "0x00000000000000000000000000000000000000000023919aabbc6bea0b000000",
"blockNumber": "0x1359902",
"transactionHash": "0x6502c72104dfb688e0f5ac07d5056c6eab83bc3c5e649fe8dd66215aa32c73fe",
"transactionIndex": "0xf",
"blockHash": "0x2be7a6019317d159a341557988eb1731cbd24809e87e7b9717a803f9103343a6",
"logIndex": "0xbec",
"removed": false
},
{
"address": "0xa028a1ba4add7c79f923bba40ddb46b9c347027e",
"topics": [
"0x6e6ae68e7d7d45fbd855c40d1eaafa8de46c5fbec3ee26f1af88730e400bc92c", // Event - TokenCreated
"0x000000000000000000000000e65831b6fb6edaddf0094cbed148d355515176be" // Creator wallet
],
"data": "0x00000000000000000000000088d2cf2d65e26ab9387b002b6f78cc70f5ed5bab000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000023919aabbc6bea0b0000000000000000000000000000000000000000000000000000000000000000000008317374546f6b656e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000033153540000000000000000000000000000000000000000000000000000000000",
// "data": " padded New Token Address ...
"blockNumber": "0x1359902",
"transactionHash": "0x6502c72104dfb688e0f5ac07d5056c6eab83bc3c5e649fe8dd66215aa32c73fe",
"transactionIndex": "0xf",
"blockHash": "0x2be7a6019317d159a341557988eb1731cbd24809e87e7b9717a803f9103343a6",
"logIndex": "0xbed",
"removed": false
}
],
"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000010000000000000800000000000000000200000000020000000000000020000000000000000000008000000000000000000008000000000000000000000000000020000000000000000000800200000000010000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000004000000000080000000000000000000000000000002000000000020000000000000000480000000000000000000000020000000000000000000000000000000020000000000000000000000000000000000",
"status": "0x1",
"to": "0xa028a1ba4add7c79f923bba40ddb46b9c347027e",
"transactionHash": "0x6502c72104dfb688e0f5ac07d5056c6eab83bc3c5e649fe8dd66215aa32c73fe",
"transactionIndex": "0xf",
"type": "0x2"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment