Implement RPC for creating tokens