for mining you will also need nonce_1 value, it sends by the mining pool right after you’ve connected.
then you join in one buffer parameters of mining.notify from second to seventh (should be 108 bytes), append nonce_1 from the pool, append your nonce_2 (nonce_1+nonce_2 should be 32 bytes), and after that use these 140 bytes of so called “block header” to find solutions, according to Protocol Specification[1] paragraph 6.4.1
in this implementation it looks like the block header is called “SEED”, but all constants require tweaking.