craft-nft

A standalone NFT implementation for real-world arts and crafts assets
Log | Files | Refs | README

commit 26618b5ffd83a607b4b9775a7582f14d32079c12
parent 60b6c89c1451696a575372682f05251cdf54514a
Author: lash <dev@holbrook.no>
Date:   Fri, 16 Dec 2022 20:15:18 +0000

Add ownership, single tokens, transfer

Diffstat:
Mpython/tests/test_basic.py | 6++++++
1 file changed, 6 insertions(+), 0 deletions(-)

diff --git a/python/tests/test_basic.py b/python/tests/test_basic.py @@ -145,6 +145,12 @@ class Test(EthTesterCase): r = self.conn.do(o) self.assertEqual(r['status'], 1) + (tx_hash_hex, o) = c.mint_to(self.address, self.accounts[0], hash_of_foo, 1, self.accounts[1]) + self.rpc.do(o) + o = receipt(tx_hash_hex) + r = self.conn.do(o) + self.assertEqual(r['status'], 1) + (tx_hash_hex, o) = c.mint_to(self.address, self.accounts[0], hash_of_foo, 0, self.accounts[1]) self.rpc.do(o) o = receipt(tx_hash_hex)